[llvm] r190998 - [NVPTX] Make constant vector test case endian-independent

Justin Holewinski jholewinski at nvidia.com
Thu Sep 19 06:14:44 PDT 2013


Author: jholewinski
Date: Thu Sep 19 08:14:44 2013
New Revision: 190998

URL: http://llvm.org/viewvc/llvm-project?rev=190998&view=rev
Log:
[NVPTX] Make constant vector test case endian-independent

Modified:
    llvm/trunk/test/CodeGen/NVPTX/constant-vectors.ll

Modified: llvm/trunk/test/CodeGen/NVPTX/constant-vectors.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/NVPTX/constant-vectors.ll?rev=190998&r1=190997&r2=190998&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/NVPTX/constant-vectors.ll (original)
+++ llvm/trunk/test/CodeGen/NVPTX/constant-vectors.ll Thu Sep 19 08:14:44 2013
@@ -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};
- at 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};
+ at 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





More information about the llvm-commits mailing list