summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-04-15 01:20:52 +0000
committerJustin Lebar <jlebar@google.com>2016-04-15 01:20:52 +0000
commitf04e678e36f9cc1755f6e797f7b8a322d8cd4acc (patch)
tree22c27db69922b436f72b0f0bb52750447e4ffecf /llvm/test/Transforms
parent12f4f8be904b16855952b0ea0355107b508cfbc3 (diff)
downloadbcm5719-llvm-f04e678e36f9cc1755f6e797f7b8a322d8cd4acc.tar.gz
bcm5719-llvm-f04e678e36f9cc1755f6e797f7b8a322d8cd4acc.zip
Move divergent-target test into CodeGen/NVPTX because it requires an NVPTX target.
llvm-svn: 266403
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/SpeculativeExecution/divergent-target.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/test/Transforms/SpeculativeExecution/divergent-target.ll b/llvm/test/Transforms/SpeculativeExecution/divergent-target.ll
deleted file mode 100644
index d3f2a3fa0d3..00000000000
--- a/llvm/test/Transforms/SpeculativeExecution/divergent-target.ll
+++ /dev/null
@@ -1,22 +0,0 @@
-; 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: FileCheck --check-prefix=OFF %s
-
-; Hoist in if-then pattern.
-define void @f() {
-; ON: %x = add i32 2, 3
-; ON: br i1 true
-; OFF: br i1 true
-; OFF: %x = add i32 2, 3
- br i1 true, label %a, label %b
-a:
- %x = add i32 2, 3
- br label %b
-b:
- ret void
-}
OpenPOWER on IntegriCloud