[LLVMbugs] [Bug 4779] New: msp430 backend ICE: "#operands for dag node doesn't match . td file!"

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Aug 25 10:52:06 PDT 2009


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

           Summary: msp430 backend ICE: "#operands for dag node doesn't
                    match .td file!"
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu


regehr at john-home:~/z/tinyos-2.x/apps/Blink/build/telosb/tmp3$ clang
-ccc-host-triple msp430-generic-generic -ccc-clang-archs msp430 -x c -S -w -O3
small.c
clang-cc: ScheduleDAGSDNodesEmit.cpp:506: void
llvm::ScheduleDAGSDNodes::EmitNode(llvm::SDNode*, bool, bool,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>,
llvm::DenseMapInfo<unsigned int> >&): Assertion `(II.getNumOperands() ==
NumMIOperands || HasPhysRegOuts || II.isVariadic()) && "#operands for dag node
doesn't match .td file!"' failed.
0   clang-cc 0x09340218
Stack dump:
0.      Program arguments:
/home/regehr/z/tmp/llvm-gcc-r80002-install/bin/../libexec/clang-cc -triple
msp430-generic-generic -S -disable-free -main-file-name small.c
--relocation-model static --disable-fp-elim --unwind-tables=0 --fmath-errno=1
-O3 -w -fdiagnostics-show-option -o small.s -x c small.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'MSP430 DAG->DAG Pattern Instruction Selection' on
function '@foo'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)

regehr at john-home:~/z/tinyos-2.x/apps/Blink/build/telosb/tmp3$ cat small.c

void foo (void)
{
  volatile char r;
  r |= 1;
}

regehr at john-home:~/z/tinyos-2.x/apps/Blink/build/telosb/tmp3$ clang -v

clang version 1.0 (http://llvm.org/svn/llvm-project/cfe/trunk 80002)
Target: i386-pc-linux-gnu
Thread model: posix


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