[LLVMbugs] [Bug 7236] New: instcombine broken with arm_aapcscc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 26 13:32:45 PDT 2010


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: unassignedbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


$ 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.



More information about the llvm-bugs mailing list