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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to