diff options
Diffstat (limited to 'test/CodeGen/AArch64/inline-asm-constraints-badI.ll')
-rw-r--r-- | test/CodeGen/AArch64/inline-asm-constraints-badI.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/AArch64/inline-asm-constraints-badI.ll b/test/CodeGen/AArch64/inline-asm-constraints-badI.ll new file mode 100644 index 0000000000..c300482d10 --- /dev/null +++ b/test/CodeGen/AArch64/inline-asm-constraints-badI.ll @@ -0,0 +1,7 @@ +; RUN: not llc -march=aarch64 < %s + +define void @foo() { + ; Out of range immediate for I. + call void asm sideeffect "add x0, x0, $0", "I"(i32 4096) + ret void +}
\ No newline at end of file |