1 ; RUN: llc -verify-machineinstrs -mcpu=ppc32 -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
2 define double @test(i1 %X) {
3 %Y = uitofp i1 %X to double
8 ; CHECK-DAG: addis 3, 4, .LCPI
9 ; CHECK-DAG: addis 4, 4, .LCPI
10 ; CHECK-DAG: andi. {{[0-9]+}}, 3, 1
11 ; CHECK-NEXT: bc 12, 1, [[TRUE:.LBB[0-9]+]]
12 ; CHECK-NEXT: b [[SUCCESSOR:.LBB[0-9]+]]
13 ; CHECK-NEXT: [[TRUE]]
14 ; CHECK-NEXT: addi 3, 4, 0
15 ; CHECK-NEXT: [[SUCCESSOR]]
16 ; CHECK-NEXT: lfs 1, 0(3)