[LLVMbugs] [Bug 3181] New: -fast bug on x86-64 with 32-bit gep indices

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Dec 7 22:14:07 PST 2008


           Summary: -fast bug on x86-64 with 32-bit gep indices
           Product: libraries
           Version: 1.0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: gohman at apple.com, llvmbugs at cs.uiuc.edu

This testcase produces invalid asm with:  
llvm-as < t.ll | llc -march=x86-64 -fast

define i32 @main() {
   ret i32 0

define i32 @_l5_get(i32 %t3, i32* %t1) nounwind {
        %t9 = getelementptr i32* %t1, i32 %t3           ; <i32*> [#uses=1]
        %t15 = load i32* %t9            ; <i32> [#uses=1]
        ret i32 %t15

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