[LLVMbugs] [Bug 4227] New: ARM backend fail on asm-large-immediate.ll testcase

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 18 07:24:34 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4227

           Summary: ARM backend fail on asm-large-immediate.ll testcase
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: xerxes at zafena.se
                CC: llvmbugs at cs.uiuc.edu


The asm-large-immediate.ll testcase inserts 2 instead of 68719476738 in the
output from llc.

cat test/CodeGen/Generic/asm-large-immediate.ll
; RUN: llvm-as < %s | llc | grep 68719476738

define void @test() {
entry:
        tail call void asm sideeffect "/* result: ${0:c} */",
"i,~{dirflag},~{fpsr},~{flags}"( i64 68719476738 )
        ret void
}

root at overo:~/llvm-test/fail# llvm-as <
test/CodeGen/Generic/asm-large-immediate.ll | llc | grep result
        /* result: 2 */
root at overo:~/llvm-test/fail# llvm-as <
test/CodeGen/Generic/asm-large-immediate.ll | llc | grep 68719476738
root at overo:~/llvm-test/fail# echo $?
1
root at overo:~/llvm-test/fail# 

tested using llvm2.5 and trunk


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