]> granicus.if.org Git - llvm/commitdiff
Move previously added test case to the right location
authorSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 13 Jun 2016 20:12:07 +0000 (20:12 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 13 Jun 2016 20:12:07 +0000 (20:12 +0000)
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

test/CodeGen/X86/statepoint-memdep.ll [deleted file]
test/Transforms/DeadStoreElimination/operand-bundles.ll

diff --git a/test/CodeGen/X86/statepoint-memdep.ll b/test/CodeGen/X86/statepoint-memdep.ll
deleted file mode 100644 (file)
index c22a25e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-; RUN: opt -S -dse < %s | FileCheck %s
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-define void @f() {
-  ; CHECK-LABEL: @f(
-  %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 @g() [ "deopt"(i64* %s) ]
-  store i64 0, i64* %s
-  ret void
-}
-
-declare void @g()
index 0ac9ff0d663750f87f7887bad2937b56042d54d5..d71b9673ed1d7e65f97f793d4b337f40dbb96d5f 100644 (file)
@@ -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
+}