52 lines · plain
1; RUN: llc -mtriple=s390x-linux-gnu -mcpu=z13 -systemz-subreg-liveness < %s | FileCheck %s2 3; Check for successful compilation.4; CHECK: aghi %r15, -1605 6target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"7target triple = "s390x-ibm-linux"8 9%0 = type { ptr, i32, i32 }10 11declare ptr @Perl_sv_grow(ptr, i64) #012 13; Function Attrs: nounwind14define signext i32 @Perl_yylex() #1 {15bb:16 br label %bb117 18bb1: ; preds = %bb3, %bb19 %tmp = phi ptr [ %tmp8, %bb3 ], [ undef, %bb ]20 %tmp2 = icmp eq i8 undef, 021 br i1 %tmp2, label %bb9, label %bb322 23bb3: ; preds = %bb124 %tmp4 = ptrtoint ptr %tmp to i6425 %tmp5 = sub i64 %tmp4, 026 %tmp6 = shl i64 %tmp5, 3227 %tmp7 = ashr exact i64 %tmp6, 3228 %tmp8 = getelementptr inbounds i8, ptr null, i64 %tmp729 br label %bb130 31bb9: ; preds = %bb132 br i1 undef, label %bb10, label %bb1533 34bb10: ; preds = %bb935 %tmp11 = ptrtoint ptr %tmp to i6436 %tmp12 = sub i64 %tmp11, 037 %tmp13 = call ptr @Perl_sv_grow(ptr nonnull undef, i64 undef) #238 %tmp14 = getelementptr inbounds i8, ptr %tmp13, i64 %tmp1239 br label %bb1540 41bb15: ; preds = %bb10, %bb942 %tmp16 = phi ptr [ %tmp14, %bb10 ], [ %tmp, %bb9 ]43 %tmp17 = call ptr @Perl_uvuni_to_utf8(ptr %tmp16, i64 undef) #244 unreachable45}46 47declare ptr @Perl_uvuni_to_utf8(ptr, i64) #048 49attributes #0 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="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" }50attributes #1 = { 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" }51attributes #2 = { nounwind }52