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
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2003-09-09-VolatileLoadElim.ll
blob
3e0cf1247d90fca58c65bfe635ce7b6c9f5fd751
1
; RUN: opt < %s -instcombine -S | grep load
2
3
define void @test(i32* %P) {
4
; Dead but not deletable!
5
%X = load volatile i32, i32* %P ; <i32> [#uses=0]
6
ret void
7
}