comparison test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 95c75e76d11b
children
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
1 ; RUN: opt < %s -instcombine -S | not grep cmp 1 ; RUN: opt < %s -instcombine -S | not grep cmp
2 ; rdar://6903175 2 ; rdar://6903175
3 3
4 define i1 @f0(i32 *%a) nounwind { 4 define i1 @f0(i32 *%a) nounwind {
5 %b = load i32* %a, align 4 5 %b = load i32, i32* %a, align 4
6 %c = uitofp i32 %b to double 6 %c = uitofp i32 %b to double
7 %d = fcmp ogt double %c, 0x41EFFFFFFFE00000 7 %d = fcmp ogt double %c, 0x41EFFFFFFFE00000
8 ret i1 %d 8 ret i1 %d
9 } 9 }