https://bugs.llvm.org/show_bug.cgi?id=39993
Bug ID: 39993
Summary: LLVM generates wrong MSP430 code for indirect input
constraints
Product: new-bugs
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Since r346948, LLVM generates wrong MSP430 code for indirect input
constraints inline assembly.
For example, for the following IR snippet
target triple = "msp430-unknown-unknown-elf"
define void @f() {
entry:
call void asm sideeffect "mov r1, $0", "*m"(i8* inttoptr (i16 256 to i8*))
ret void
}
the inline assembly is wrongly translated into
mov r1, 256(r2)
instead of into
mov r1, &256
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs