1; Positive test for inline register constraints 2; 3; RUN: llc -march=mipsel < %s | FileCheck %s 4 5define i32 @main() nounwind { 6entry: 7 8; X with -3 9;CHECK: #APP 10;CHECK: addi ${{[0-9]+}},${{[0-9]+}},0xfffffffffffffffd 11;CHECK: #NO_APP 12 tail call i32 asm sideeffect "addi $0,$1,${2:X}", "=r,r,I"(i32 7, i32 -3) nounwind 13 14; x with -3 15;CHECK: #APP 16;CHECK: addi ${{[0-9]+}},${{[0-9]+}},0xfffd 17;CHECK: #NO_APP 18 tail call i32 asm sideeffect "addi $0,$1,${2:x}", "=r,r,I"(i32 7, i32 -3) nounwind 19 20 ret i32 0 21} 22