[PATCH] D127504: [NVPTX] Use the mask() operator to initialize packed structs with pointers

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 20 12:36:28 PDT 2022


ikudrin added a comment.

In D127504#3666230 <https://reviews.llvm.org/D127504#3666230>, @tra wrote:

> Looks like the patch got reverted and reapplied. Could you tell me what went wrong and what was changed to fix it?

The test failed on BE bots. Direct reading `u32` and `u64` values through a C-style pointer cast made unexpected results, thus I had to replace them with `support::endian::read32le()` and `read64le()`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127504/new/

https://reviews.llvm.org/D127504



More information about the llvm-commits mailing list