From 571e3481e71c0b220886889355bd8badd6fe1cfd 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. llvm-svn: 265350 --- llvm/test/CodeGen/MIR/lit.local.cfg | 2 -- llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir | 1 + llvm/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir | 1 + llvm/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir | 2 +- llvm/test/lit.cfg | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 llvm/test/CodeGen/MIR/lit.local.cfg diff --git a/llvm/test/CodeGen/MIR/lit.local.cfg b/llvm/test/CodeGen/MIR/lit.local.cfg deleted file mode 100644 index e69aa57..0000000 --- a/llvm/test/CodeGen/MIR/lit.local.cfg +++ /dev/null @@ -1,2 +0,0 @@ -config.suffixes = ['.mir'] - diff --git a/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir b/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir index d1cb678..809d369 100644 --- a/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir +++ b/llvm/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/llvm/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir b/llvm/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir index e4aaaf3..6f52aa2 100644 --- a/llvm/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir +++ b/llvm/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/llvm/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir b/llvm/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir index 5c998d0..4a1cbf9 100644 --- a/llvm/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir +++ b/llvm/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/llvm/test/lit.cfg b/llvm/test/lit.cfg index c1a4499..2812ee2 100644 --- a/llvm/test/lit.cfg +++ b/llvm/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.7.4