[LLVMbugs] [Bug 11696] New: vector select with i16s returns incorrect result

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 3 11:29:53 PST 2012


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

             Bug #: 11696
           Summary: vector select with i16s returns incorrect result
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7833
  --> http://llvm.org/bugs/attachment.cgi?id=7833
test case

The attached test-case does a vector select with vectors of i16 values; the
results it returns are incorrect; half the elements have the wrong value.

% llc bug.ll -o bug.s && clang bug.cpp bug.s && ./a.out                         
0: 100 (expected 100)
1: 100 (expected 2)
2: 100 (expected 100)
3: 100 (expected 4)
4: 100 (expected 100)
5: 100 (expected 6)
6: 100 (expected 100)
7: 100 (expected 8)
%

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