view test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents afa8332a0e37
children
line wrap: on
line source

; RUN: opt < %s -instcombine -S | not grep cmp
; rdar://6903175

define i1 @f0(i32 *%a) nounwind {
       %b = load i32, i32* %a, align 4
       %c = uitofp i32 %b to double
       %d = fcmp ogt double %c, 0x41EFFFFFFFE00000
       ret i1 %d
}