1 ; RUN: llc -verify-machineinstrs < %s -mcpu=pwr4 -mattr=-altivec \
2 ; RUN: -mtriple=powerpc-ibm-aix-xcoff 2>&1 | FileCheck %s
4 ; RUN: llc -verify-machineinstrs < %s -mcpu=pwr4 -mattr=-altivec \
5 ; RUN: -mtriple=powerpc-unknown-linux-gnu 2>&1 | FileCheck %s
7 ; When we convert an `i64` to `f32` on 32-bit PPC target, a `setcc` will be
8 ; generated. And this testcase verifies that the operand expansion of `setcc`
11 %struct.A = type { float }
13 @ll = external local_unnamed_addr global i64
14 @a = external local_unnamed_addr global %struct.A
16 define void @foo() local_unnamed_addr {
18 %0 = load i64, ptr @ll
19 %conv = sitofp i64 %0 to float
20 store float %conv, ptr @a
24 ; CHECK-NOT: Unexpected setcc expansion!