summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/NVPTX/i1-param.ll
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2013-06-21 18:51:49 +0000
committerJustin Holewinski <jholewinski@nvidia.com>2013-06-21 18:51:49 +0000
commitb6e6cd356e3be97e4412cddeeaa71269a5919fca (patch)
treefab6245c42fd56f368d5ee5429440408e9c22e3f /llvm/test/CodeGen/NVPTX/i1-param.ll
parent7ceab3a892b763aa8dae2c998ab7fad4badfafc9 (diff)
downloadbcm5719-llvm-b6e6cd356e3be97e4412cddeeaa71269a5919fca.tar.gz
bcm5719-llvm-b6e6cd356e3be97e4412cddeeaa71269a5919fca.zip
[NVPTX] Add support for selecting CUDA vs OCL mode based on triple
IR for CUDA should use "nvptx[64]-nvidia-cuda", and IR for NV OpenCL should use "nvptx[64]-nvidia-nvcl" llvm-svn: 184579
Diffstat (limited to 'llvm/test/CodeGen/NVPTX/i1-param.ll')
-rw-r--r--llvm/test/CodeGen/NVPTX/i1-param.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/NVPTX/i1-param.ll b/llvm/test/CodeGen/NVPTX/i1-param.ll
index fabd61a25d2..f4df8743932 100644
--- a/llvm/test/CodeGen/NVPTX/i1-param.ll
+++ b/llvm/test/CodeGen/NVPTX/i1-param.ll
@@ -1,6 +1,7 @@
-; RUN: llc < %s -march=nvptx -mcpu=sm_20 -drvcuda | FileCheck %s
+; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-n16:32:64"
+target triple = "nvptx-nvidia-cuda"
; Make sure predicate (i1) operands to kernels get expanded out to .u8
OpenPOWER on IntegriCloud