Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 6027190

Browse files
committed
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272581 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent ae9ac9c commit 6027190

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

test/CodeGen/X86/statepoint-memdep.ll

Lines changed: 0 additions & 17 deletions
This file was deleted.

test/Transforms/DeadStoreElimination/operand-bundles.ll

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,15 @@ define void @test2() {
2929
call void @foo()
3030
ret void
3131
}
32+
33+
define void @test3() {
34+
; CHECK-LABEL: @test3(
35+
%s = alloca i64
36+
; Verify that this first store is not considered killed by the second one
37+
; since it could be observed from the deopt continuation.
38+
; CHECK: store i64 1, i64* %s
39+
store i64 1, i64* %s
40+
call void @foo() [ "deopt"(i64* %s) ]
41+
store i64 0, i64* %s
42+
ret void
43+
}

0 commit comments

Comments
 (0)