summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/pr33772.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/pr33772.ll b/llvm/test/CodeGen/X86/pr33772.ll
index 2a9b990a9f1..ff22c747886 100644
--- a/llvm/test/CodeGen/X86/pr33772.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud