OSDN Git Service

test: Always treat .mir files as tests even outside of CodeGen/MIR
authorMatthias Braun <matze@braunis.de>
Mon, 4 Apr 2016 21:23:44 +0000 (21:23 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 4 Apr 2016 21:23:44 +0000 (21:23 +0000)
We missed a handful of .mir tests that existed outside the
test/CodeGen/MIR directory.

Also fix the three powerpc .mir tests that nobody noticed were broken.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265350 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/MIR/lit.local.cfg [deleted file]
test/CodeGen/PowerPC/aantidep-def-ec.mir
test/CodeGen/PowerPC/addisdtprelha-nonr3.mir
test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir
test/lit.cfg

diff --git a/test/CodeGen/MIR/lit.local.cfg b/test/CodeGen/MIR/lit.local.cfg
deleted file mode 100644 (file)
index e69aa57..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-config.suffixes = ['.mir']
-
index d1cb678..809d369 100644 (file)
@@ -45,6 +45,7 @@ name:            mm_update_next_owner
 alignment:       4
 exposesReturnsTwice: false
 hasInlineAsm:    true
+allVRegsAllocated: true
 isSSA:           false
 tracksRegLiveness: true
 tracksSubRegLiveness: false
index e4aaaf3..6f52aa2 100644 (file)
@@ -27,6 +27,7 @@ name:            test1
 alignment:       4
 exposesReturnsTwice: false
 hasInlineAsm:    false
+allVRegsAllocated: true
 isSSA:           false
 tracksRegLiveness: true
 tracksSubRegLiveness: false
index 5c998d0..4a1cbf9 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llc -start-after=dead-mi-elimination -stop-after=twoaddressinstruction -o /dev/null %s | FileCheck %s
+# RUN: llc -start-after=dead-mi-elimination -stop-after=twoaddressinstruction -o /dev/null %s 2>&1 | FileCheck %s
 
 --- |
   target datalayout = "E-m:e-i64:64-n32:64"
index c1a4499..2812ee2 100644 (file)
@@ -41,7 +41,7 @@ config.test_format = lit.formats.ShTest(execute_external)
 
 # suffixes: A list of file extensions to treat as test files. This is overriden
 # by individual lit.local.cfg files in the test subdirectories.
-config.suffixes = ['.ll', '.c', '.cxx', '.test', '.txt', '.s']
+config.suffixes = ['.ll', '.c', '.cxx', '.test', '.txt', '.s', '.mir']
 
 # excludes: A list of directories to exclude from the testsuite. The 'Inputs'
 # subdirectories contain auxiliary inputs for various tests in their parent