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
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstSimplify
/
ConstProp
/
2006-12-01-TruncBoolBug.ll
blob
c26498dfd9a5169ca7fd1b067f45e9e6dd68604a
1
; RUN: opt < %s -passes=instcombine -S | \
2
; RUN: grep "ret i1 false"
3
define i1 @test() {
4
%X = trunc i32 320 to i1 ; <i1> [#uses=1]
5
ret i1 %X
6
}
7