From 7b7e7134b088d23677a6e53005f3c2ebe5a08fd1 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 4 Apr 2016 21:23:44 +0000 Subject: [PATCH] test: Always treat .mir files as tests even outside of CodeGen/MIR 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 | 2 -- test/CodeGen/PowerPC/aantidep-def-ec.mir | 1 + test/CodeGen/PowerPC/addisdtprelha-nonr3.mir | 1 + test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir | 2 +- test/lit.cfg | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 test/CodeGen/MIR/lit.local.cfg diff --git a/test/CodeGen/MIR/lit.local.cfg b/test/CodeGen/MIR/lit.local.cfg deleted file mode 100644 index e69aa576535..00000000000 --- a/test/CodeGen/MIR/lit.local.cfg +++ /dev/null @@ -1,2 +0,0 @@ -config.suffixes = ['.mir'] - diff --git a/test/CodeGen/PowerPC/aantidep-def-ec.mir b/test/CodeGen/PowerPC/aantidep-def-ec.mir index d1cb6782f03..809d3693af6 100644 --- a/test/CodeGen/PowerPC/aantidep-def-ec.mir +++ b/test/CodeGen/PowerPC/aantidep-def-ec.mir @@ -45,6 +45,7 @@ name: mm_update_next_owner alignment: 4 exposesReturnsTwice: false hasInlineAsm: true +allVRegsAllocated: true isSSA: false tracksRegLiveness: true tracksSubRegLiveness: false diff --git a/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir b/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir index e4aaaf30f90..6f52aa21a77 100644 --- a/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir +++ b/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir @@ -27,6 +27,7 @@ name: test1 alignment: 4 exposesReturnsTwice: false hasInlineAsm: false +allVRegsAllocated: true isSSA: false tracksRegLiveness: true tracksSubRegLiveness: false diff --git a/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir b/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir index 5c998d09a3d..4a1cbf93ccb 100644 --- a/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir +++ b/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir @@ -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" diff --git a/test/lit.cfg b/test/lit.cfg index c1a4499db29..2812ee28da8 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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 -- 2.11.0