1 ; Test the "M" constraint (0x7fffffff)
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -no-integrated-as | FileCheck %s
5 ; Test 1 below the valid value.
8 ; CHECK: iilf [[REG:%r[0-5]]], 2147483646
9 ; CHECK: blah %r2 [[REG]]
11 %val = call i32 asm "blah $0 $1", "=&r,rM" (i32 2147483646)
15 ; Test the first valid value.
18 ; CHECK: blah %r2 2147483647
20 %val = call i32 asm "blah $0 $1", "=&r,rM" (i32 2147483647)
24 ; Test 1 above the valid value.
27 ; CHECK: llilh [[REG:%r[0-5]]], 32768
28 ; CHECK: blah %r2 [[REG]]
30 %val = call i32 asm "blah $0 $1", "=&r,rM" (i32 2147483648)