Displaying 2 results from an estimated 2 matches for "f7506414".
Did you mean:
750614
2009 Dec 18
0
[LLVMdev] problem when use inline asm for msp430 target
Hello
> inline asm code is like below:
>
> void test(unsigned short a) {
> asm("myinstr my16bitreg, %0"::"r"(a));
> }
> I want it generate instruction "myinstr my16bitreg, r15"
>
> I execute
> llc test.bc -march = msp430 -o test.s
> then it reports
> "LLVM ERROR: Couldn't allocate input reg for constraint
2009 Dec 18
3
[LLVMdev] problem when use inline asm for msp430 target
Hi everyone,
inline asm code is like below:
void test(unsigned short a) {
asm("myinstr my16bitreg, %0"::"r"(a));
}
I want it generate instruction "myinstr my16bitreg, r15"
I execute
llc test.bc -march = msp430 -o test.s
then it reports
"LLVM ERROR: Couldn't allocate input reg for constraint 'r' !"
What's the reason?