[LLVMbugs] [Bug 6533] New: SetCC type must be 8-bit integer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 7 08:23:33 PST 2010


           Summary: SetCC type must be 8-bit integer
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu

Created an attachment (id=4416)
 --> (http://llvm.org/bugs/attachment.cgi?id=4416)
failure-inducing C code

Seen using r97881 on Ubuntu 9.10 on x86.

regehr at john-home:~/volatile/bugs/tmp279$ clang -O1 -emit-llvm -S small.c
regehr at john-home:~/volatile/bugs/tmp279$ llc small.s
llc: X86ISelLowering.cpp:5945: llvm::SDValue
llvm::X86TargetLowering::LowerSETCC(llvm::SDValue, llvm::SelectionDAG&):
Assertion `Op.getValueType() == MVT::i8 && "SetCC type must be 8-bit integer"'
0  llc 0x08939c58
Stack dump:
0.    Program arguments: llc small.s 
1.    Running pass 'X86 DAG->DAG Instruction Selection' on function '@baz'

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