llvm.org GIT mirror llvm / f0d6dd6
new 'cast' miscompilation, reduced from perlbmk by Evan git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32079 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep 'ret bool false'
1 bool %test() {
2 %X = trunc uint 320 to bool
3 ret bool %X
4 }