[llvm] r332694 - [X86DomainReassignment] Hopefully fix buildbot failure
Keno Fischer via llvm-commits
llvm-commits at lists.llvm.org
Thu May 17 21:36:39 PDT 2018
Author: kfischer
Date: Thu May 17 21:36:38 2018
New Revision: 332694
URL: http://llvm.org/viewvc/llvm-project?rev=332694&view=rev
Log:
[X86DomainReassignment] Hopefully fix buildbot failure
The Darwin build bot failed with:
```
llc -mcpu=skylake-avx512 -mtriple=x86_64-unknown-linux-gnu domain-reassignment-test.ll -o - | llvm-mc
--
Exit Code: 134
Command Output (stderr):
--
Assertion failed: (MAI->hasSingleParameterDotFile()), function EmitFileDirective, file lib/MC/MCAsmStreamer.cpp, line 1087.
```
Looks like this is because the `llvm-mc` command was missing a triple
directive and defaulting to MachO. Add the triple option.
Modified:
llvm/trunk/test/CodeGen/X86/domain-reassignment-test.ll
Modified: llvm/trunk/test/CodeGen/X86/domain-reassignment-test.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/domain-reassignment-test.ll?rev=332694&r1=332693&r2=332694&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/domain-reassignment-test.ll (original)
+++ llvm/trunk/test/CodeGen/X86/domain-reassignment-test.ll Thu May 17 21:36:38 2018
@@ -1,5 +1,5 @@
; RUN: llc -mcpu=skylake-avx512 -mtriple=x86_64-unknown-linux-gnu %s -o - | FileCheck %s
-; RUN: llc -mcpu=skylake-avx512 -mtriple=x86_64-unknown-linux-gnu %s -o - | llvm-mc
+; RUN: llc -mcpu=skylake-avx512 -mtriple=x86_64-unknown-linux-gnu %s -o - | llvm-mc -triple=x86_64-unknown-linux-gnu
; Check that the X86 domain reassignment pass doesn't introduce an illegal
; test instruction. See PR37396
More information about the llvm-commits
mailing list