brintos

brintos / llvm-project-archived public Read only

0
0
Text · 452 B · 85e4cda Raw
13 lines · plain
1; RUN: opt < %s -passes=instcombine -S | grep zext2 3; Never merge these two conversions, even though it's possible: this is4; significantly more expensive than the two conversions on some targets5; and it causes libgcc to be compile __fixunsdfdi into a recursive 6; function.7define i64 @test(double %D) {8        %A = fptoui double %D to i32            ; <i32> [#uses=1]9        %B = zext i32 %A to i64         ; <i64> [#uses=1]10        ret i64 %B11}12 13