aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/PTX/mov.ll
diff options
context:
space:
mode:
authorDan Bailey <dan@dneg.com>2011-06-25 18:16:28 +0000
committerDan Bailey <dan@dneg.com>2011-06-25 18:16:28 +0000
commit84149460d5fa2503e953f5800e7cdbf88f161b5a (patch)
tree2524593343a6e98f00fbc4a819a2b254f481cf60 /test/CodeGen/PTX/mov.ll
parent25b15777df42d5d608810f6881b6c98107481d69 (diff)
PTX: Reverting implementation of i8.
The .b8 operations in PTX are far more limiting than I first thought. The mov operation isn't even supported, so there's no way of converting a .pred value into a .b8 without going via .b16, which is not sensible. An improved implementation needs to use the fact that loads and stores automatically extend and truncate to implement support for EXTLOAD and TRUNCSTORE in order to correctly support boolean values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PTX/mov.ll')
-rw-r--r--test/CodeGen/PTX/mov.ll12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/CodeGen/PTX/mov.ll b/test/CodeGen/PTX/mov.ll
index b930b4caef..cce6a5b897 100644
--- a/test/CodeGen/PTX/mov.ll
+++ b/test/CodeGen/PTX/mov.ll
@@ -1,11 +1,5 @@
; RUN: llc < %s -march=ptx32 | FileCheck %s
-define ptx_device i8 @t1_u8() {
-; CHECK: mov.u8 rq{{[0-9]+}}, 0;
-; CHECK: ret;
- ret i8 0
-}
-
define ptx_device i16 @t1_u16() {
; CHECK: mov.u16 rh{{[0-9]+}}, 0;
; CHECK: ret;
@@ -36,12 +30,6 @@ define ptx_device double @t1_f64() {
ret double 0.0
}
-define ptx_device i8 @t2_u8(i8 %x) {
-; CHECK: mov.u8 rq{{[0-9]+}}, rq{{[0-9]+}};
-; CHECK: ret;
- ret i8 %x
-}
-
define ptx_device i16 @t2_u16(i16 %x) {
; CHECK: mov.u16 rh{{[0-9]+}}, rh{{[0-9]+}};
; CHECK: ret;