"clang/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "495922cb6ae1008aa62b769ffa5c9f560a8c2ffc"
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
Loading
Please register or sign in to comment