aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/R600/elf.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-10-10 17:11:46 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-10-10 17:11:46 +0000
commit39867850462b1eefd76510e25bca4f2a51f65a70 (patch)
tree096331cb52623727bd245d53e290e62e996a08fa /test/CodeGen/R600/elf.ll
parent0f9eaaa8aa10bdb658e887782b86f03dbea79cb1 (diff)
downloadexternal_llvm-39867850462b1eefd76510e25bca4f2a51f65a70.zip
external_llvm-39867850462b1eefd76510e25bca4f2a51f65a70.tar.gz
external_llvm-39867850462b1eefd76510e25bca4f2a51f65a70.tar.bz2
R600/SI: Use -verify-machineinstrs for most tests
We can't enable the verifier for tests with SI_IF and SI_ELSE, because these instructions are always followed by a COPY which copies their result to the next basic block. This violates the machine verifier's rule that non-terminators can not folow terminators. Reviewed-by: Vincent Lejeune<vljn at ovi.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/elf.ll')
-rw-r--r--test/CodeGen/R600/elf.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/R600/elf.ll b/test/CodeGen/R600/elf.ll
index f460f13..9385150 100644
--- a/test/CodeGen/R600/elf.ll
+++ b/test/CodeGen/R600/elf.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=r600 -mcpu=SI -filetype=obj | llvm-readobj -s - | FileCheck --check-prefix=ELF-CHECK %s
-; RUN: llc < %s -march=r600 -mcpu=SI -o - | FileCheck --check-prefix=CONFIG-CHECK %s
+; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs -filetype=obj | llvm-readobj -s - | FileCheck --check-prefix=ELF-CHECK %s
+; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs -o - | FileCheck --check-prefix=CONFIG-CHECK %s
; ELF-CHECK: Format: ELF32
; ELF-CHECK: Name: .AMDGPU.config