https://llvm.org/bugs/show_bug.cgi?id=27097
Bug ID: 27097 Summary: Non-determinism when freeing passes Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Core LLVM classes Assignee: unassignedb...@nondot.org Reporter: hxy9...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified The output from -debug-pass=Executions provides non-deterministic order when freeing passes. Following is the invoking commandline. It's tested on trunk version of LLVM as of 03/28/2016. CC=$PATH_TO_CLANG diff -u <($CC -O3 -mllvm -debug-pass=Executions hello.c 2>&1 | cut -d' ' -f4- ) <($CC -O3 -mllvm -debug-pass=Executions hello.c 2>&1 | cut -d' ' -f4-) Example output: --- /proc/self/fd/14 2016-03-28 12:13:01.815417440 -0500 +++ /proc/self/fd/15 2016-03-28 12:13:01.815417440 -0500 @@ -487,8 +487,8 @@ Executing Pass 'Loop-Closed SSA Form Pass' on Function 'main'... Executing Pass 'Scalar Evolution Analysis' on Function 'main'... Executing Pass 'Loop Pass Manager' on Function 'main'... - Freeing Pass 'Function Alias Analysis Results' on Function 'main'... Freeing Pass 'Canonicalize natural loops' on Function 'main'... + Freeing Pass 'Function Alias Analysis Results' on Function 'main'... Freeing Pass 'Loop-Closed SSA Form Pass' on Function 'main'... Executing Pass 'Alignment from assumptions' on Function 'main'... Freeing Pass 'Scalar Evolution Analysis' on Function 'main'... -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs