[LLVMbugs] [Bug 15937] New: MIPS backend generates wrong code for vector icmp fed into sext

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 8 10:55:43 PDT 2013


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

            Bug ID: 15937
           Summary: MIPS backend generates wrong code for vector icmp fed
                    into sext
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: john at multicorewareinc.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10485
  --> http://llvm.org/bugs/attachment.cgi?id=10485&action=edit
Minimal LLVM-IR test case

The MIPS backend does not handle vectors correctly when the result of an icmp
operation is then sign-extended.  Essentially, the sign-extension is being
dropped.  Wrong behavior requires an LLVM vector, and sext by itself seems to
work fine.  Minimal test case attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130508/175ca601/attachment.html>


More information about the llvm-bugs mailing list