[llvm] r272416 - Move CodeGen test from Generic to X86 specific directory
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 10 12:14:01 PDT 2016
Author: mehdi_amini
Date: Fri Jun 10 14:14:01 2016
New Revision: 272416
URL: http://llvm.org/viewvc/llvm-project?rev=272416&view=rev
Log:
Move CodeGen test from Generic to X86 specific directory
Added:
llvm/trunk/test/CodeGen/X86/ipra-transform.ll
- copied, changed from r272414, llvm/trunk/test/CodeGen/Generic/ipra-transform.ll
Removed:
llvm/trunk/test/CodeGen/Generic/ipra-transform.ll
Removed: llvm/trunk/test/CodeGen/Generic/ipra-transform.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/ipra-transform.ll?rev=272415&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/ipra-transform.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/ipra-transform.ll (removed)
@@ -1,32 +0,0 @@
-
-; RUN: llc < %s | FileCheck %s -check-prefix=NOIPRA
-; RUN: llc -enable-ipra < %s | FileCheck %s
-
-
-target triple = "x86_64-unknown-unknown"
-define void @bar1() {
- ret void
-}
-define preserve_allcc void @foo()#0 {
-; Due to preserve_allcc foo() will save some registers at start of foo()
-; prefix NOIPRA will verify that.
-; NOIPRA-LABEL: foo:
-; NOIPRA: pushq %r10
-; NOIPRA-NEXT: pushq %r9
-; NOIPRA-NEXT: pushq %r8
-; NOIPRA: callq bar1
-; When IPRA is present above registers will not be saved and that is verified
-; by prefix CHECK.
-; CHECK: foo:
-; CHECK-NOT: pushq %r10
-; CHECK-NOT: pushq %r9
-; CHECK-NOT: pushq %r8
-; CHECK: callq bar1
- call void @bar1()
- call void @bar2()
- ret void
-}
-define void @bar2() {
- ret void
-}
-attributes #0 = {nounwind}
Copied: llvm/trunk/test/CodeGen/X86/ipra-transform.ll (from r272414, llvm/trunk/test/CodeGen/Generic/ipra-transform.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/ipra-transform.ll?p2=llvm/trunk/test/CodeGen/X86/ipra-transform.ll&p1=llvm/trunk/test/CodeGen/Generic/ipra-transform.ll&r1=272414&r2=272416&rev=272416&view=diff
==============================================================================
(empty)
More information about the llvm-commits
mailing list