1
; Test loading of 32-bit constants.
3
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
13
; Check the high end of the LHI range.
16
; CHECK: lhi %r2, 32767
21
; Check the next value up, which must use LLILL instead.
24
; CHECK: llill %r2, 32768
29
; Check the high end of the LLILL range.
32
; CHECK: llill %r2, 65535
37
; Check the first useful LLILH value, which is the next one up.
45
; Check the first useful IILF value, which is the next one up again.
48
; CHECK: iilf %r2, 65537
53
; Check the high end of the LLILH range.
56
; CHECK: llilh %r2, 65535
61
; Check the next value up, which must use IILF.
64
; CHECK: iilf %r2, 4294901761
69
; Check the highest useful IILF value, 0xffff7fff
72
; CHECK: iilf %r2, 4294934527
77
; Check the next value up, which should use LHI.
80
; CHECK: lhi %r2, -32768