From a4a6134cee20a3f0c07bc09a3bc1f3c303388065 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 18 Jul 2017 08:16:32 +0000 Subject: [PATCH] [x86] Add a missing triple, without which the CPU won't parse. 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/CodeGen/X86/pr33772.ll b/test/CodeGen/X86/pr33772.ll index 2a9b990a9f1..ff22c747886 100644 --- a/test/CodeGen/X86/pr33772.ll +++ b/test/CodeGen/X86/pr33772.ll @@ -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 -- 2.11.0