[LLVMbugs] [Bug 9389] New: opt -reassociate produces invalid IR
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 3 04:58:10 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9389
Summary: opt -reassociate produces invalid IR
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: miscompilation
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: matti.niemenmaa+llvmbugs at iki.fi
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6264)
--> (http://llvm.org/bugs/attachment.cgi?id=6264)
Test case
With opt from r126934:
$ opt -S -reassociate < bugpoint-reduced-simplified.ll
Instruction does not dominate all uses!
%tmp2 = add i64 undef, undef
%m0 = add i64 %tmp2, undef
Instruction does not dominate all uses!
%m0 = add i64 %tmp2, undef
%qs = add i64 %m0, %tmp2
Broken module found, compilation aborted!
Stack dump:
0. Program arguments: /home/deewiant/src/llvm/install/bin/opt -reassociate
-S
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Module Verifier' on function '@Main_r_info'
Aborted
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list