[LLVMbugs] [Bug 5202] New: msp430 backend: ice: Unknown constraint type!
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Oct 15 12:04:58 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=5202
Summary: msp430 backend: ice: Unknown constraint type!
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 -O -S small.c
clang-cc: SelectionDAGBuild.cpp:5389: void
llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite): Assertion
`(OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
OpInfo.ConstraintType == TargetLowering::C_Register) && "Unknown constraint
type!"' failed.
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
-O2 -fexceptions=0 -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 '@main'
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
typedef unsigned int uint8_t __attribute ((__mode__ (__QI__)));
typedef unsigned int uint16_t __attribute ((__mode__ (__HI__)));
uint16_t __addr16;
int main (void)
{
uint8_t __result;
__asm ("lpm" "\n\t" "mov %0, r0" "\n\t": "=r" (__result): "z" (__addr16):"r0");
}
--
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