https://llvm.org/bugs/show_bug.cgi?id=24071
Bug ID: 24071
Summary: Invalid operand for inline asm constraint 'n'
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llc
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 14567
--> https://llvm.org/bugs/attachment.cgi?id=14567&action=edit
testcase.ll
I have the following reduced testcase file:
> cat testcase.ll
define i32 @foo(i32 %a, i32 %b) {
entry:
%0 = call i32 asm "", "=r,r,n,n"(i32 %a, i32 %b, i32 %b)
ret i32 %0
}
When invoking llc on the above file I get this error:
> llc testcase.ll
error: invalid operand for inline asm constraint 'n'
> clang -v
clang version 3.7.0 (http://llvm.org/git/clang.git
93ea4643bdacc8e2fe229b69f06ac9fa96e03313) (http://llvm.org/git/llvm.git
080d7a819f4fd04883e6ac2e13617f5c8a14be6d)
Target: arm--linux-gnueabi
Thread model: posix
Note: There is bug on a similar issue:
https://llvm.org/bugs/show_bug.cgi?id=11657
However the asm in that bug was malformed. I am not sure whether the asm in my
testcase is malformed. Could someone please comment?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs