1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc --verify-machineinstrs -mtriple powerpc-unknown-freebsd \ 3; RUN: -mcpu=pwr4 < %s | FileCheck %s 4 5define double @postinctodbl(i64* nocapture %llp) #0 { 6; CHECK-LABEL: postinctodbl: 7; CHECK: # %bb.0: # %entry 8; CHECK-NEXT: stwu 1, -16(1) 9; CHECK-NEXT: .cfi_def_cfa_offset 16 10; CHECK-NEXT: lwz 4, 4(3) 11; CHECK-NEXT: stw 4, 12(1) 12; CHECK-NEXT: addic 4, 4, 1 13; CHECK-NEXT: lwz 5, 0(3) 14; CHECK-NEXT: stw 5, 8(1) 15; CHECK-NEXT: addze 5, 5 16; CHECK-NEXT: lfd 0, 8(1) 17; CHECK-NEXT: stw 5, 0(3) 18; CHECK-NEXT: fcfid 1, 0 19; CHECK-NEXT: stw 4, 4(3) 20; CHECK-NEXT: addi 1, 1, 16 21; CHECK-NEXT: blr 22entry: 23 %0 = load i64, i64* %llp, align 8 24 %inc = add nsw i64 %0, 1 25 store i64 %inc, i64* %llp, align 8 26 %conv = sitofp i64 %0 to double 27 ret double %conv 28} 29