1 ; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | not grep r1
3 define double @test1(double %X) {
4 %Y = fptosi double %X to i64 ; <i64> [#uses=1]
5 %Z = sitofp i64 %Y to double ; <double> [#uses=1]
9 define float @test2(double %X) {
10 %Y = fptosi double %X to i64 ; <i64> [#uses=1]
11 %Z = sitofp i64 %Y to float ; <float> [#uses=1]
15 define double @test3(float %X) {
16 %Y = fptosi float %X to i64 ; <i64> [#uses=1]
17 %Z = sitofp i64 %Y to double ; <double> [#uses=1]
21 define float @test4(float %X) {
22 %Y = fptosi float %X to i64 ; <i64> [#uses=1]
23 %Z = sitofp i64 %Y to float ; <float> [#uses=1]