diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-06-13 20:12:07 +0000 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-06-13 20:12:07 +0000 |
| commit | 98ac278b86bb47e636fb73eb9330221f714315e8 (patch) | |
| tree | e7723da76a42065067d2364eca8e195e996da180 /llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll | |
| parent | d0bdf3e02ba61a704bae67f188ff7e5a8be135ed (diff) | |
| download | bcm5719-llvm-98ac278b86bb47e636fb73eb9330221f714315e8.tar.gz bcm5719-llvm-98ac278b86bb47e636fb73eb9330221f714315e8.zip | |
Move previously added test case to the right location
In rL272580 I accidentally added a test case to test/CodeGen when
test/Transforms/DeadStoreElimination/ is a better place for it.
llvm-svn: 272581
Diffstat (limited to 'llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll')
| -rw-r--r-- | llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll b/llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll index 0ac9ff0d663..d71b9673ed1 100644 --- a/llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll +++ b/llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll @@ -29,3 +29,15 @@ define void @test2() { call void @foo() ret void } + +define void @test3() { + ; CHECK-LABEL: @test3( + %s = alloca i64 + ; Verify that this first store is not considered killed by the second one + ; since it could be observed from the deopt continuation. + ; CHECK: store i64 1, i64* %s + store i64 1, i64* %s + call void @foo() [ "deopt"(i64* %s) ] + store i64 0, i64* %s + ret void +} |

