Move divergent-target test into CodeGen/NVPTX because it requires an NVPTX target.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Justin Lebar 2016-04-15 01:20:52 +00:00
parent c904368f3d
commit b3c92d33bd

View File

@ -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.