[llvm] r186051 - Move r186044 tests into CodeGen/X86

Hal Finkel hfinkel at anl.gov
Wed Jul 10 18:55:56 PDT 2013


Author: hfinkel
Date: Wed Jul 10 20:55:55 2013
New Revision: 186051

URL: http://llvm.org/viewvc/llvm-project?rev=186051&view=rev
Log:
Move r186044 tests into CodeGen/X86

I had thought that these tests could be target-neutral, but in practice this is
not the case (on some targets, like Hexagon and Darwin), they trigger an assert
(a different assert than the one that r186044 fixes).

Added:
    llvm/trunk/test/CodeGen/X86/nonconst-static-ev.ll
      - copied, changed from r186046, llvm/trunk/test/Other/nonconst-static-ev.ll
    llvm/trunk/test/CodeGen/X86/nonconst-static-iv.ll
      - copied, changed from r186046, llvm/trunk/test/Other/nonconst-static-iv.ll
Removed:
    llvm/trunk/test/Other/nonconst-static-ev.ll
    llvm/trunk/test/Other/nonconst-static-iv.ll

Copied: llvm/trunk/test/CodeGen/X86/nonconst-static-ev.ll (from r186046, llvm/trunk/test/Other/nonconst-static-ev.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/nonconst-static-ev.ll?p2=llvm/trunk/test/CodeGen/X86/nonconst-static-ev.ll&p1=llvm/trunk/test/Other/nonconst-static-ev.ll&r1=186046&r2=186051&rev=186051&view=diff
==============================================================================
--- llvm/trunk/test/Other/nonconst-static-ev.ll (original)
+++ llvm/trunk/test/CodeGen/X86/nonconst-static-ev.ll Wed Jul 10 20:55:55 2013
@@ -1,6 +1,5 @@
-; RUN: not llc < %s 2> %t
+; RUN: not llc -march=x86 -mtriple=x86_64-linux-gnu < %s 2> %t
 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
-; XFAIL: hexagon
 ; REQUIRES: shell
 
 @0 = global i8 extractvalue ([1 x i8] select (i1 ptrtoint (i32* @1 to i1), [1 x i8] [ i8 1 ], [1 x i8] [ i8 2 ]), 0)

Copied: llvm/trunk/test/CodeGen/X86/nonconst-static-iv.ll (from r186046, llvm/trunk/test/Other/nonconst-static-iv.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/nonconst-static-iv.ll?p2=llvm/trunk/test/CodeGen/X86/nonconst-static-iv.ll&p1=llvm/trunk/test/Other/nonconst-static-iv.ll&r1=186046&r2=186051&rev=186051&view=diff
==============================================================================
--- llvm/trunk/test/Other/nonconst-static-iv.ll (original)
+++ llvm/trunk/test/CodeGen/X86/nonconst-static-iv.ll Wed Jul 10 20:55:55 2013
@@ -1,6 +1,5 @@
-; RUN: not llc < %s 2> %t
+; RUN: not llc -march=x86 -mtriple=x86_64-linux-gnu < %s 2> %t
 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
-; XFAIL: hexagon
 ; REQUIRES: shell
 
 @0 = global i8 insertvalue( { i8 } select (i1 ptrtoint (i32* @1 to i1), { i8 } { i8 1 }, { i8 } { i8 2 }), i8 0, 0)

Removed: llvm/trunk/test/Other/nonconst-static-ev.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-ev.ll?rev=186050&view=auto
==============================================================================
--- llvm/trunk/test/Other/nonconst-static-ev.ll (original)
+++ llvm/trunk/test/Other/nonconst-static-ev.ll (removed)
@@ -1,10 +0,0 @@
-; RUN: not llc < %s 2> %t
-; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
-; XFAIL: hexagon
-; REQUIRES: shell
-
- at 0 = global i8 extractvalue ([1 x i8] select (i1 ptrtoint (i32* @1 to i1), [1 x i8] [ i8 1 ], [1 x i8] [ i8 2 ]), 0)
- at 1 = external global i32
-
-; CHECK-ERRORS: Unsupported expression in static initializer: extractvalue
-

Removed: llvm/trunk/test/Other/nonconst-static-iv.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-iv.ll?rev=186050&view=auto
==============================================================================
--- llvm/trunk/test/Other/nonconst-static-iv.ll (original)
+++ llvm/trunk/test/Other/nonconst-static-iv.ll (removed)
@@ -1,10 +0,0 @@
-; RUN: not llc < %s 2> %t
-; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
-; XFAIL: hexagon
-; REQUIRES: shell
-
- at 0 = global i8 insertvalue( { i8 } select (i1 ptrtoint (i32* @1 to i1), { i8 } { i8 1 }, { i8 } { i8 2 }), i8 0, 0)
- at 1 = external global i32
-
-; CHECK-ERRORS: Unsupported expression in static initializer: insertvalue
-





More information about the llvm-commits mailing list