aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2015-06-09 16:29:34 +0000
committerSamuel Antao <sfantao@us.ibm.com>2015-06-09 16:29:34 +0000
commitcd50135a29b80e6fa5dbf8de49845e2edda07bef (patch)
treea2db6ff1f36b68312ac2b0d7ee86f65f32a11021 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentaf79f3dbd3147a945fe5497a64f5f5a648b5c7d1 (diff)
downloadllvm-cd50135a29b80e6fa5dbf8de49845e2edda07bef.zip
llvm-cd50135a29b80e6fa5dbf8de49845e2edda07bef.tar.gz
llvm-cd50135a29b80e6fa5dbf8de49845e2edda07bef.tar.bz2
The constant initialization for globals in NVPTX is generated as an
array of bytes. The generation of this byte arrays was expecting the host to be little endian, which prevents big endian hosts to be used in the generation of the PTX code. This patch fixes the problem by changing the way the bytes are extracted so that it works for either little and big endian. llvm-svn: 239412
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions