summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/NVPTX/globals_init.ll
Commit message (Collapse)AuthorAgeFilesLines
* The constant initialization for globals in NVPTX is generated as an Samuel Antao2015-06-091-0/+23
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
OpenPOWER on IntegriCloud