]> granicus.if.org Git - llvm/commitdiff
[x86] Add a missing triple, without which the CPU won't parse.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 18 Jul 2017 08:16:32 +0000 (08:16 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 18 Jul 2017 08:16:32 +0000 (08:16 +0000)
Notably, this is failing on our PPC build bots:
http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/8338/steps/ninja%20check%201/logs/FAIL%3A%20LLVM%3A%3Apr33772.ll

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

test/CodeGen/X86/pr33772.ll

index 2a9b990a9f1349369a9fdb550744afa2f346437f..ff22c7478866b154c0bf247729a58b6d5285237c 100644 (file)
@@ -1,5 +1,7 @@
 ; RUN: not llc < %s -mcpu=skylake-avx512 2>&1 | FileCheck %s
 
+target triple = "x86_64-unknown-linux-gnu"
+
 ; make sure we don't crash if scale for gather isn't constant.
 
 ; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.x86.avx512.gather.dpi.512