[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/load.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 12 15:19:57 PDT 2005
Changes in directory llvm/test/Regression/Transforms/InstCombine:
load.ll updated: 1.9 -> 1.10
---
Log message:
new testcase
---
Diffs of the changes: (+7 -0)
load.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/load.ll
diff -u llvm/test/Regression/Transforms/InstCombine/load.ll:1.9 llvm/test/Regression/Transforms/InstCombine/load.ll:1.10
--- llvm/test/Regression/Transforms/InstCombine/load.ll:1.9 Mon Sep 12 16:59:22 2005
+++ llvm/test/Regression/Transforms/InstCombine/load.ll Mon Sep 12 17:19:46 2005
@@ -65,3 +65,10 @@
%X = load int* %P ;; Trivial store->load forwarding
ret int %X
}
+
+int %test9(int* %P) {
+ %X = load int* %P ;; Trivial load cse
+ %Y = load int* %P
+ %Z = sub int %X, %Y
+ ret int %Z
+}
More information about the llvm-commits
mailing list