projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12b5041
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 12 Sep 2005 21:59:22 +0000
(21:59 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 12 Sep 2005 21:59:22 +0000
(21:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23319
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/load.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/load.ll
b/test/Transforms/InstCombine/load.ll
index 3c8a693dc78048c6b024177e2cce8806e0f3eb67..056f3177a135481590d08783615e46421e069d3f 100644
(file)
--- a/
test/Transforms/InstCombine/load.ll
+++ b/
test/Transforms/InstCombine/load.ll
@@
-59,3
+59,9
@@
int %test7(int %X) {
%R = load int* %V
ret int %R
}
+
+int %test8(int* %P) {
+ store int 1, int* %P
+ %X = load int* %P ;; Trivial store->load forwarding
+ ret int %X
+}