diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-12 21:59:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-12 21:59:22 +0000 |
commit | 598fbf756fc1309d63e649b2ac27fa4d682519a1 (patch) | |
tree | d2aff5eb7a118bfde67aa97d91b84ec2acddd9f9 | |
parent | 12b50410cd0a8cd81a7f528f862005e80921cf58 (diff) |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23319 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/load.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/load.ll b/test/Transforms/InstCombine/load.ll index 3c8a693dc7..056f3177a1 100644 --- 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 +} |