aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/NVPTX
diff options
context:
space:
mode:
authorJustin Holewinski <jholewinski@nvidia.com>2013-09-19 13:14:44 +0000
committerJustin Holewinski <jholewinski@nvidia.com>2013-09-19 13:14:44 +0000
commitc9554b13425a477a3e6e2fc4fec1cb75b9e68441 (patch)
tree54c47f3a7cbc1d24581a6dff39d41f4112d76068 /test/CodeGen/NVPTX
parent3917535b1af06f03dc0150fc956fb05218a78292 (diff)
downloadexternal_llvm-c9554b13425a477a3e6e2fc4fec1cb75b9e68441.zip
external_llvm-c9554b13425a477a3e6e2fc4fec1cb75b9e68441.tar.gz
external_llvm-c9554b13425a477a3e6e2fc4fec1cb75b9e68441.tar.bz2
[NVPTX] Make constant vector test case endian-independent
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190998 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/NVPTX')
-rw-r--r--test/CodeGen/NVPTX/constant-vectors.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/NVPTX/constant-vectors.ll b/test/CodeGen/NVPTX/constant-vectors.ll
index 7a68756..208c2d9 100644
--- a/test/CodeGen/NVPTX/constant-vectors.ll
+++ b/test/CodeGen/NVPTX/constant-vectors.ll
@@ -2,6 +2,5 @@
target triple = "nvptx-nvidia-cuda"
-; CHECK: .visible .global .align 16 .b8 sphPosArr[80] = {0, 0, 192, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 64, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 64, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 192, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63};
-@sphPosArr = constant [5 x <4 x float>] [<4 x float> <float -6.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, <4 x float> <float -3.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, <4 x float> <float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, <4 x float> <float 3.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, <4 x float> <float 6.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>], align 16
-
+; CHECK: .visible .global .align 16 .b8 testArray[8] = {0, 1, 2, 3, 4, 5, 6, 7};
+@testArray = constant [2 x <4 x i8>] [<4 x i8> <i8 0, i8 1, i8 2, i8 3>, <4 x i8> <i8 4, i8 5, i8 6, i8 7>], align 16