diff options
| author | Samuel Antao <sfantao@us.ibm.com> | 2015-06-09 16:29:34 +0000 |
|---|---|---|
| committer | Samuel Antao <sfantao@us.ibm.com> | 2015-06-09 16:29:34 +0000 |
| commit | cd50135a29b80e6fa5dbf8de49845e2edda07bef (patch) | |
| tree | a2db6ff1f36b68312ac2b0d7ee86f65f32a11021 /clang/lib/Frontend/ASTMerge.cpp | |
| parent | af79f3dbd3147a945fe5497a64f5f5a648b5c7d1 (diff) | |
| download | llvm-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/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions
