1 ; Test the "L" constraint (20-bit signed constants).
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -no-integrated-as | FileCheck %s
5 ; Test 1 below the first valid value.
8 ; CHECK: iilf [[REG:%r[0-5]]], 4294443007
9 ; CHECK: blah %r2 [[REG]]
11 %val = call i32 asm "blah $0 $1", "=&r,rL" (i32 -524289)
15 ; Test the first valid value.
18 ; CHECK: blah %r2 -524288
20 %val = call i32 asm "blah $0 $1", "=&r,rL" (i32 -524288)
24 ; Test the last valid value.
27 ; CHECK: blah %r2 524287
29 %val = call i32 asm "blah $0 $1", "=&r,rL" (i32 524287)
33 ; Test 1 above the last valid value.
36 ; CHECK: llilh [[REG:%r[0-5]]], 8
37 ; CHECK: blah %r2 [[REG]]
39 %val = call i32 asm "blah $0 $1", "=&r,rL" (i32 524288)