[LLVMbugs] [Bug 2139] New: sext i16 to i32 being turned into movzwl

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Mar 11 13:01:28 PDT 2008


           Summary: sext i16 to i32 being turned into movzwl
           Product: new-bugs
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1522)
 --> (http://llvm.org/bugs/attachment.cgi?id=1522)
testcase .ll

$ llc testcase.bc
$ gcc -o testcase testcase.s
$ ./testcase
Aborted (core dumped)

Inspection of the .ll shows that it should not abort.
This seems to be because an sext is being emitted as a zext.
Reduced from a recent Ada testsuite failure.

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