From a54daa4640733fd23ab178b062a4d7efde3e1264 Mon Sep 17 00:00:00 2001 From: Justin Holewinski Date: Thu, 19 Sep 2013 13:14:44 +0000 Subject: [PATCH] [NVPTX] Make constant vector test case endian-independent llvm-svn: 190998 --- llvm/test/CodeGen/NVPTX/constant-vectors.ll | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llvm/test/CodeGen/NVPTX/constant-vectors.ll b/llvm/test/CodeGen/NVPTX/constant-vectors.ll index 7a6875669d9e..208c2d970f31 100644 --- a/llvm/test/CodeGen/NVPTX/constant-vectors.ll +++ b/llvm/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> , <4 x float> , <4 x float> , <4 x float> , <4 x float> ], 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> , <4 x i8> ], align 16