AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64.
[oota-llvm.git] / test / CodeGen / ARM64 / inline-asm-error-L.ll
1 ; RUN: not llc -march=arm64 < %s  2> %t
2 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
3
4 ; Check for at least one invalid constant.
5 ; CHECK-ERRORS: error: invalid operand for inline asm constraint 'L'
6
7 define i32 @constraint_L(i32 %i, i32 %j) nounwind {
8 entry:
9   %0 = tail call i32 asm sideeffect "eor $0, $1, $2", "=r,r,L"(i32 %i, i64 -1) nounwind
10   ret i32 %0
11 }