1*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=arm64 < %s 2> %t 2*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker; Check for at least one invalid constant. 5*9880d681SAndroid Build Coastguard Worker; CHECK-ERRORS: error: invalid operand for inline asm constraint 'M' 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Workerdefine i32 @constraint_M(i32 %i, i32 %j) nounwind { 8*9880d681SAndroid Build Coastguard Workerentry: 9*9880d681SAndroid Build Coastguard Worker %0 = tail call i32 asm sideeffect "movk $0, $1", "=r,M"(i32 305418240) nounwind 10*9880d681SAndroid Build Coastguard Worker ret i32 %0 11*9880d681SAndroid Build Coastguard Worker} 12