[llvm] r340034 - [x86] Fix test breaking on Darwin after r339962

Francis Visoiu Mistrih via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 07:47:01 PDT 2018


Author: thegameg
Date: Fri Aug 17 07:47:01 2018
New Revision: 340034

URL: http://llvm.org/viewvc/llvm-project?rev=340034&view=rev
Log:
[x86] Fix test breaking on Darwin after r339962

* -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.

Modified:
    llvm/trunk/test/CodeGen/X86/instr-symbols.mir

Modified: llvm/trunk/test/CodeGen/X86/instr-symbols.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/instr-symbols.mir?rev=340034&r1=340033&r2=340034&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/instr-symbols.mir (original)
+++ llvm/trunk/test/CodeGen/X86/instr-symbols.mir Fri Aug 17 07:47:01 2018
@@ -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.
 




More information about the llvm-commits mailing list