1 ; Positive test for inline register constraints
3 ; RUN: llc -march=mipsel < %s | FileCheck %s
5 define i32 @main() nounwind {
10 ;CHECK: addi ${{[0-9]+}},${{[0-9]+}},0xfffffffffffffffd
12 tail call i32 asm sideeffect "addi $0,$1,${2:X}", "=r,r,I"(i32 7, i32 -3) nounwind
16 ;CHECK: addi ${{[0-9]+}},${{[0-9]+}},0xfffd
18 tail call i32 asm sideeffect "addi $0,$1,${2:x}", "=r,r,I"(i32 7, i32 -3) nounwind