1; RUN: llc -mtriple=s390x-linux-gnu -mcpu=z13 -verify-machineinstrs -systemz-subreg-liveness < %s | FileCheck %s 2; RUN: llc -mtriple=s390x-linux-gnu -mcpu=z13 -verify-machineinstrs -systemz-subreg-liveness -early-live-intervals < %s | FileCheck %s 3 4; Check for successful compilation. 5; CHECK: lgfrl %r0, g_399 6 7target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64" 8target triple = "s390x-ibm-linux" 9 10@g_439 = external dso_local global i32, align 4 11@g_399 = external dso_local global { i8, i8, i8, i8, i8, i8 }, align 8 12 13; Function Attrs: nounwind 14define void @main() #0 { 15bb: 16 %tmp = load i48, ptr @g_399, align 8, !noalias !1 17 %tmp1 = ashr i48 %tmp, 17 18 %tmp2 = trunc i48 %tmp1 to i32 19 %tmp3 = sext i32 %tmp2 to i64 20 br label %bb4 21 22bb4: ; preds = %bb4, %bb 23 %tmp5 = load i64, ptr undef, align 8, !tbaa !4, !noalias !1 24 %tmp6 = urem i64 -923186811629238421, %tmp3 25 %tmp7 = or i64 %tmp6, %tmp5 26 %tmp8 = trunc i64 %tmp7 to i32 27 %tmp9 = lshr i32 %tmp8, 2 28 %tmp10 = and i32 %tmp9, 60 29 %tmp11 = xor i32 %tmp10, -1592309976 30 %tmp12 = or i32 0, %tmp11 31 %tmp13 = or i32 %tmp12, 3 32 store i32 %tmp13, ptr @g_439, align 4, !tbaa !8, !noalias !1 33 br label %bb4 34} 35 36attributes #0 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="z13" "target-features"="+transactional-execution,+vector" "unsafe-fp-math"="false" "use-soft-float"="false" } 37 38!llvm.ident = !{!0} 39 40!0 = !{!"clang version 8.0.0"} 41!1 = !{!2} 42!2 = distinct !{!2, !3, !"func_1: %agg.result"} 43!3 = distinct !{!3, !"func_1"} 44!4 = !{!5, !5, i64 0} 45!5 = !{!"long", !6, i64 0} 46!6 = !{!"omnipotent char", !7, i64 0} 47!7 = !{!"Simple C/C++ TBAA"} 48!8 = !{!9, !9, i64 0} 49!9 = !{!"int", !6, i64 0} 50