summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-07-12 14:36:48 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-07-12 14:36:48 +0000
commit8b2ab91a5d034fff1f80aa0e32142fafcbd90734 (patch)
tree62549f6b4d080bf5449ef1f236aa1724767b0365
parent68e9ed75d559e003f802bc7c2e2817fe260133e1 (diff)
downloadbcm5719-llvm-8b2ab91a5d034fff1f80aa0e32142fafcbd90734.tar.gz
bcm5719-llvm-8b2ab91a5d034fff1f80aa0e32142fafcbd90734.zip
[DebugInfo][X86] Add start-after flags to MIR tests
These tests would fail with -verify-machineinstrs because the MI generated from the IR would be merged with the one already in the MIR files, and we get the following error: ``` *** Bad machine code: Function has NoVRegs property but there are VReg operands *** - function: f ``` Differential Revision: https://reviews.llvm.org/D49191 llvm-svn: 336907
-rw-r--r--llvm/test/CodeGen/MIR/X86/diexpr-win32.mir2
-rw-r--r--llvm/test/DebugInfo/MIR/X86/bit-piece-dh.mir2
-rw-r--r--llvm/test/DebugInfo/MIR/X86/empty-inline.mir4
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/MIR/X86/diexpr-win32.mir b/llvm/test/CodeGen/MIR/X86/diexpr-win32.mir
index e8cf98d70bb..f8612bb1b37 100644
--- a/llvm/test/CodeGen/MIR/X86/diexpr-win32.mir
+++ b/llvm/test/CodeGen/MIR/X86/diexpr-win32.mir
@@ -1,4 +1,4 @@
-# RUN: llc -filetype=obj -O0 %s -o - | llvm-readobj -codeview | FileCheck %s
+# RUN: llc -start-after=prologepilog -filetype=obj -O0 %s -o - | llvm-readobj -codeview | FileCheck %s
#
# (DW_OP_plus_uconst 12)
# CHECK: LocalSym {
diff --git a/llvm/test/DebugInfo/MIR/X86/bit-piece-dh.mir b/llvm/test/DebugInfo/MIR/X86/bit-piece-dh.mir
index 4f9c22079bd..8c74f8395fe 100644
--- a/llvm/test/DebugInfo/MIR/X86/bit-piece-dh.mir
+++ b/llvm/test/DebugInfo/MIR/X86/bit-piece-dh.mir
@@ -1,4 +1,4 @@
-# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -v --debug-info - | FileCheck %s
+# RUN: llc -verify-machineinstrs -start-after=prologepilog -filetype=obj -o - %s | llvm-dwarfdump -v --debug-info - | FileCheck %s
# CHECK: .debug_info contents:
# CHECK: DW_TAG_variable
# CHECK-NEXT: DW_AT_location {{.*}} (DW_OP_reg1 RDX, DW_OP_bit_piece 0x8 0x8)
diff --git a/llvm/test/DebugInfo/MIR/X86/empty-inline.mir b/llvm/test/DebugInfo/MIR/X86/empty-inline.mir
index 437baacbf88..2930b71f16f 100644
--- a/llvm/test/DebugInfo/MIR/X86/empty-inline.mir
+++ b/llvm/test/DebugInfo/MIR/X86/empty-inline.mir
@@ -1,6 +1,6 @@
-# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -a - | FileCheck %s
+# RUN: llc -verify-machineinstrs -start-after=virtregrewriter -filetype=obj -o - %s | llvm-dwarfdump -a - | FileCheck %s
#
-# This testcase has an implicit def pseudo-iunstruction with a debug location.
+# This testcase has an implicit def pseudo-instruction with a debug location.
#
# CHECK: .debug_info contents:
# CHECK: DW_TAG_subprogram
OpenPOWER on IntegriCloud