summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/CodeGen/NVPTX/speculative-execution-divergent-target.ll (renamed from llvm/test/Transforms/SpeculativeExecution/divergent-target.ll)6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/Transforms/SpeculativeExecution/divergent-target.ll b/llvm/test/CodeGen/NVPTX/speculative-execution-divergent-target.ll
index d3f2a3fa0d3..128e9e9ba2a 100644
--- a/llvm/test/Transforms/SpeculativeExecution/divergent-target.ll
+++ b/llvm/test/CodeGen/NVPTX/speculative-execution-divergent-target.ll
@@ -1,10 +1,12 @@
+; Checks that speculative-execution only runs on divergent targets, if you pass
+; -spec-exec-only-if-divergent-target.
+
; RUN: opt < %s -S -mtriple=nvptx-nvidia-cuda -speculative-execution | \
; RUN: FileCheck --check-prefix=ON %s
; RUN: opt < %s -S -mtriple=nvptx-nvidia-cuda -speculative-execution \
; RUN: -spec-exec-only-if-divergent-target | \
; RUN: FileCheck --check-prefix=ON %s
-; RUN: opt < %s -S -march=x86_64 -speculative-execution \
-; RUN: -spec-exec-only-if-divergent-target | \
+; RUN: opt < %s -S -speculative-execution -spec-exec-only-if-divergent-target | \
; RUN: FileCheck --check-prefix=OFF %s
; Hoist in if-then pattern.
OpenPOWER on IntegriCloud