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
/
InstCombine
/
2006-02-13-DemandedMiscompile.ll
blob
2ee2ba56424fc6805b2c2b7bfff678608cef6487
1
; RUN: opt < %s -passes=instcombine -S | \
2
; RUN: not grep undef
3
4
define i32 @test(i8 %A) {
5
%B = sext i8 %A to i32 ; <i32> [#uses=1]
6
%C = ashr i32 %B, 8 ; <i32> [#uses=1]
7
ret i32 %C
8
}
9
10