[x86] Fix test breaking on Darwin after r339962
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 17 Aug 2018 14:47:01 +0000 (14:47 +0000)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Fri, 17 Aug 2018 14:47:01 +0000 (14:47 +0000)
* -march=x86-64 -> -mtriple=x86_64-unknown-linux to avoid _ prefixes to
symbols
* add -start-before to avoid running the whole codegen on the IR. I
assumed it is meant to be running after X86SpeculativeLoadHardening.

llvm-svn: 340034

llvm/test/CodeGen/X86/instr-symbols.mir

index aa0352b..eb1f1f1 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llc -march=x86-64 -o - %s | FileCheck %s
+# RUN: llc -mtriple=x86_64-unknown-linux -start-before=x86-flags-copy-lowering -o - %s | FileCheck %s
 #
 # Test the emission of pre- and post-instruction labels.