repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2008-05-23-CompareFold.ll
blob
66751eb704548aad5d0af8dda2830793143bdbc2
1
; RUN: opt -passes=instcombine -S < %s | FileCheck %s
2
; PR2359
3
4
; CHECK-LABEL: @f(
5
; CHECK: ret i1 false
6
define i1 @f(ptr %x) {
7
entry:
8
%tmp462 = load i8, ptr %x, align 1 ; <i8> [#uses=1]
9
%tmp462463 = sitofp i8 %tmp462 to float ; <float> [#uses=1]
10
%tmp464 = fcmp ugt float %tmp462463, 0x47EFFFFFE0000000 ; <i1>
11
ret i1 %tmp464
12
}
13
14