[LLVMbugs] [Bug 5200] New: msp430 backend: ice: Do not know how to legalize this operator!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 15 11:34:35 PDT 2009


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

           Summary: msp430 backend: ice: Do not know how to legalize this
                    operator!
           Product: new-bugs
           Version: trunk
          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: asl at math.spbu.ru, llvmbugs at cs.uiuc.edu


regehr at john-home:~/volatile/tmp207$ clang -ccc-host-triple
msp430-generic-generic -ccc-clang-archs msp430 -x c -O0 small.c 
NODE: 0xa022d68: i16 = srl 0xa023080, 0xa022ad4
Do not know how to legalize this operator!
UNREACHABLE executed at LegalizeDAG.cpp:958!
0   clang-cc 0x09069fe8
Stack dump:
0.      Program arguments:
/home/regehr/z/tmp/llvm-gcc-r84167-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
-O0 -fexceptions=0 -fdiagnostics-show-option -o /tmp/cc-oyidiS.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:~/volatile/tmp207$ clang -v

clang version 1.1 (trunk 84167)
Target: i386-pc-linux-gnu
Thread model: posix

regehr at john-home:~/volatile/tmp207$ cat small.c

static int foo (int _left, unsigned int _right)
{
  return 1 *8 ? : 1 >> _right;
}

void func_2 (void *);

void int81 (void)
{
  func_2 (&foo);
}


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