[llvm] r272581 - Move previously added test case to the right location

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 13:12:08 PDT 2016


Author: sanjoy
Date: Mon Jun 13 15:12:07 2016
New Revision: 272581

URL: http://llvm.org/viewvc/llvm-project?rev=272581&view=rev
Log:
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.

Removed:
    llvm/trunk/test/CodeGen/X86/statepoint-memdep.ll
Modified:
    llvm/trunk/test/Transforms/DeadStoreElimination/operand-bundles.ll

Removed: llvm/trunk/test/CodeGen/X86/statepoint-memdep.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/statepoint-memdep.ll?rev=272580&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/statepoint-memdep.ll (original)
+++ llvm/trunk/test/CodeGen/X86/statepoint-memdep.ll (removed)
@@ -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()

Modified: llvm/trunk/test/Transforms/DeadStoreElimination/operand-bundles.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/DeadStoreElimination/operand-bundles.ll?rev=272581&r1=272580&r2=272581&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/DeadStoreElimination/operand-bundles.ll (original)
+++ llvm/trunk/test/Transforms/DeadStoreElimination/operand-bundles.ll Mon Jun 13 15:12:07 2016
@@ -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
+}




More information about the llvm-commits mailing list