]> granicus.if.org Git - llvm/commitdiff
[Test] Fix debug-loc-0.mir with EXPENSIVE_CHECKS
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 17 Jan 2019 18:35:14 +0000 (18:35 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 17 Jan 2019 18:35:14 +0000 (18:35 +0000)
The `llc` invocation was missing `-start-before=machine-cp`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351464 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/MIR/X86/debug-loc-0.mir

index 4bc2d35d1cfd32a313582d1124523ef298ee5806..3fb1e0ba71ae67aef3a959d47ecb2ba805df1f8d 100644 (file)
@@ -1,6 +1,6 @@
 # Check that subsequent .loc 0 0 directives are collapsed.
 
-# RUN: llc -O2 -filetype=asm -mtriple=x86_64-apple-macosx10.9.0 -o - %s | FileCheck %s
+# RUN: llc -start-before=machine-cp -O2 -filetype=asm -mtriple=x86_64-apple-macosx10.9.0 -o - %s | FileCheck %s
 
 # CHECK: Ltmp0:
 # CHECK: .loc 1 0 0 prologue_end