summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-06-09 10:31:05 +0000
committerDiana Picus <diana.picus@linaro.org>2016-06-09 10:31:05 +0000
commitdb2aff0ab48a47ffc46fe47ccffb51948ee6351d (patch)
treee21ec5849e5dd8dac1095a11d791f60b192904c4 /llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir
parent4180f34ecb417e1136745b8846a94e0abadb0888 (diff)
downloadbcm5719-llvm-db2aff0ab48a47ffc46fe47ccffb51948ee6351d.tar.gz
bcm5719-llvm-db2aff0ab48a47ffc46fe47ccffb51948ee6351d.zip
[llc] Remove exit-on-error flag from MIR tests (PR27770)
This is made possible by removing an assert in llc that assumed MIRParser::parseLLVMModule would exit on error. MIRParser's documentation states that it returns null if a parsing error occurs, so there's no reason to assert. We can instead just fall through to where the check for a module is performed and exit if it is null. This commit is part of the clean-up after r269655. Fixes PR27770 Differential Revision: http://reviews.llvm.org/D20371 llvm-svn: 272254
Diffstat (limited to 'llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir')
-rw-r--r--llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir b/llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir
index d348cbeffed..e6a9ef8d4c8 100644
--- a/llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir
+++ b/llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir
@@ -1,4 +1,4 @@
-# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -exit-on-error -o /dev/null %s 2>&1 | FileCheck %s
+# RUN: not llc -march=x86-64 -start-after branch-folder -stop-after branch-folder -o /dev/null %s 2>&1 | FileCheck %s
--- |
define i32 @test(i32 %a) {
OpenPOWER on IntegriCloud