1 ; RUN: llc -verify-machineinstrs < %s | FileCheck %s
2 target datalayout = "E-m:e-p:32:32-i64:64-n32"
3 target triple = "powerpc-unknown-unknown"
5 ; Function Attrs: nounwind
6 define i64 @testullf(float %arg) #0 {
8 %arg.addr = alloca float, align 4
9 store float %arg, float* %arg.addr, align 4
10 %0 = load float, float* %arg.addr, align 4
11 %conv = fptoui float %0 to i64
14 ; CHECK-LABEL: @testullf
15 ; CHECK: fctiduz [[REG1:[0-9]+]], 1
16 ; CHECK: stfd [[REG1]], [[OFF:[0-9]+]](1)
17 ; CHECK-DAG: lwz 3, [[OFF]](1)
18 ; CHECK-DAG: lwz 4, {{[0-9]+}}(1)
22 attributes #0 = { nounwind "target-cpu"="a2" }