brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 8b23c03 Raw
42 lines · plain
1; RUN: llc -mtriple=s390x-linux-gnu -mcpu=z13 -disable-early-taildup -disable-cgp -systemz-subreg-liveness < %s | FileCheck %s2 3; Check for successful compilation.4; CHECK: lhi %r0, -55 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; Function Attrs: nounwind10define void @main() #0 {11bb:12  %tmp = xor i8 0, -513  %tmp1 = sext i8 %tmp to i3214  %tmp2 = icmp sgt i8 0, -115  br label %bb316 17bb3:                                              ; preds = %bb15, %bb18  %tmp4 = phi i64 [ %tmp16, %bb15 ], [ -1, %bb ]19  br i1 undef, label %bb14, label %bb520 21bb5:                                              ; preds = %bb322  %tmp6 = or i1 %tmp2, false23  %tmp7 = select i1 %tmp6, i32 0, i32 10024  %tmp8 = ashr i32 %tmp1, %tmp725  %tmp9 = zext i32 %tmp8 to i6426  %tmp10 = shl i64 %tmp9, 4827  %tmp11 = ashr exact i64 %tmp10, 4828  %tmp12 = and i64 %tmp11, %tmp429  %tmp13 = trunc i64 %tmp12 to i3230  store i32 %tmp13, ptr undef, align 431  br label %bb1532 33bb14:                                             ; preds = %bb334  br label %bb1535 36bb15:                                             ; preds = %bb14, %bb537  %tmp16 = phi i64 [ %tmp4, %bb14 ], [ %tmp12, %bb5 ]38  br label %bb339}40 41attributes #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" }42