AArch64/ARM64: add another set of tests from AArch64
[oota-llvm.git] / test / CodeGen / AArch64 / inline-asm-constraints-badI.ll
1 ; RUN: not llc -mtriple=aarch64-none-linux-gnu < %s
2 ; RUN: not llc -mtriple=arm64-none-linux-gnu -o - %s
3
4 define void @foo() {
5   ; Out of range immediate for I.
6   call void asm sideeffect "add x0, x0, $0", "I"(i32 4097)
7   ret void
8 }