1*9880d681SAndroid Build Coastguard Worker; 2*9880d681SAndroid Build Coastguard Worker; This is a negative test. The constant value given for the constraint (P). 3*9880d681SAndroid Build Coastguard Worker; A constant in the range of 1 to 655535 inclusive. 4*9880d681SAndroid Build Coastguard Worker; Our example uses the positive value 655536. 5*9880d681SAndroid Build Coastguard Worker; 6*9880d681SAndroid Build Coastguard Worker; RUN: not llc -march=mipsel < %s 2> %t 7*9880d681SAndroid Build Coastguard Worker; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Workerdefine i32 @main() nounwind { 10*9880d681SAndroid Build Coastguard Workerentry: 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker;CHECK-ERRORS: error: invalid operand for inline asm constraint 'P' 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard Worker tail call i32 asm sideeffect "addiu $0,$1,$2", "=r,r,P"(i32 undef, i32 655536) nounwind 15*9880d681SAndroid Build Coastguard Worker ret i32 0 16*9880d681SAndroid Build Coastguard Worker} 17