brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · f46225c Raw
29 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 42; RUN: llc -verify-machineinstrs -mtriple=powerpc64-ibm-aix < %s | FileCheck %s3 4define noundef signext i32 @ham(ptr nocapture noundef %arg) #0 {5; CHECK-LABEL: ham:6; CHECK:       # %bb.0: # %bb7; CHECK-NEXT:    lwz 4, 0(3)8; CHECK-NEXT:    cmpwi 4, 7509; CHECK-NEXT:    blt 0, L..BB0_210; CHECK-NEXT:  # %bb.1: # %bb11; CHECK-NEXT:    li 4, 112; CHECK-NEXT:    b L..BB0_313; CHECK-NEXT:  L..BB0_2:14; CHECK-NEXT:    addi 4, 4, 115; CHECK-NEXT:  L..BB0_3: # %bb16; CHECK-NEXT:    stw 4, 0(3)17; CHECK-NEXT:    li 3, 018; CHECK-NEXT:    blr19bb:20  %load = load i32, ptr %arg, align 421  %icmp = icmp slt i32 %load, 75022  %add = add nsw i32 %load, 123  %select = select i1 %icmp, i32 %add, i32 124  store i32 %select, ptr %arg, align 425  ret i32 026}27 28attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="pwr8" "target-features"="+altivec,+bpermd,+crbits,+crypto,+direct-move,+extdiv,+htm,+isa-v206-instructions,+isa-v207-instructions,+power8-vector,+quadword-atomics,+vsx,-aix-small-local-exec-tls,-isa-v30-instructions,-isel,-power9-vector,-privileged,-rop-protect,-spe" }29