http://llvm.org/bugs/show_bug.cgi?id=7236
Summary: instcombine broken with arm_aapcscc
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ cat test.ll
define arm_aapcscc double @foo() {
entry:
ret double 0.0
}
define arm_aapcscc i1 @bar() {
entry:
%t7 = call double @foo()
%t8 = fcmp ogt double %t7, 1.000000e-03
ret i1 %t8
}
$ opt -instcombine test.ll -o - | llvm-dis
; ModuleID = '<stdin>'
define arm_aapcscc double @foo() {
entry:
ret double 0.000000e+00
}
define arm_aapcscc i1 @bar() {
entry:
store i1 true, i1* undef
ret i1 false
}
Why the store to undef?!? Removing arm_aapcscc fixes the issue.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs