summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-08-17 14:47:01 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2018-08-17 14:47:01 +0000
commitf006b491bdbab8253774796e2d0c166f48179e11 (patch)
treeac3bf2174e7c1dea8b7ed2b8ab16eed3c29695f3
parent8bff8325341ecc93369b92c3c56627e8cf5d26a7 (diff)
downloadbcm5719-llvm-f006b491bdbab8253774796e2d0c166f48179e11.tar.gz
bcm5719-llvm-f006b491bdbab8253774796e2d0c166f48179e11.zip
[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. llvm-svn: 340034
-rw-r--r--llvm/test/CodeGen/X86/instr-symbols.mir2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/instr-symbols.mir b/llvm/test/CodeGen/X86/instr-symbols.mir
index aa0352b5802..eb1f1f1d1bd 100644
--- a/llvm/test/CodeGen/X86/instr-symbols.mir
+++ b/llvm/test/CodeGen/X86/instr-symbols.mir
@@ -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.
OpenPOWER on IntegriCloud