[llvm-bugs] [Bug 27097] New: Non-determinism when freeing passes
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Mar 28 10:08:51 PDT 2016
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: unassignedbugs at nondot.org
Reporter: hxy9243 at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160328/ec219e44/attachment.html>
More information about the llvm-bugs
mailing list