Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious
[oota-llvm.git] / test / Transforms / InstCombine / 2006-12-05-fp-to-int-ext.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep zext
2
3 ; Never merge these two conversions, even though it's possible: this is
4 ; significantly more expensive than the two conversions on some targets
5 ; and it causes libgcc to be compile __fixunsdfdi into a recursive 
6 ; function.
7
8
9 long %test(double %D) {
10         %A = fptoui double %D to uint
11         %B = zext uint %A to long
12         ret long %B
13 }