1 ; RUN: llc -mcpu=generic -mtriple=powerpc64le-unknown-unknown -O0 < %s | FileCheck %s --check-prefix=GENERIC 2 ; RUN: llc -mcpu=ppc -mtriple=powerpc64le-unknown-unknown -O0 < %s | FileCheck %s 3 4 define i32 @bad(double %x) { 5 %1 = fptoui double %x to i32 6 ret i32 %1 7 } 8 9 ; CHECK: fctidz 1, 1 10 ; CHECK: stfd 1, [[OFF:.*]](1) 11 ; CHECK: lwz {{[0-9]*}}, [[OFF]](1) 12 ; GENERIC: fctiwuz 1, 1 13 ; GENERIC: stfd 1, [[OFF:.*]](1) 14 ; GENERIC: lwz {{[0-9]*}}, [[OFF]](1) 15