repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add a small missed optimization: turn X == C ? X : Y into X == C ? C : Y. This
[llvm/stm8.git]
/
test
/
Assembler
/
2003-11-05-ConstantExprShift.ll
blob
86b093e351298e7169f4ef959945eae934d5685b
1
; RUN: llvm-as < %s | llvm-dis
2
3
define i32 @test() {
4
ret i32 ashr (i32 ptrtoint (i32 ()* @test to i32), i32 2)
5
}