[PATCH] D55067: [HIP] Fix offset of kernel argument for AMDGPU target

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 29 16:10:03 PST 2018


rjmccall added a comment.

In D55067#1313480 <https://reviews.llvm.org/D55067#1313480>, @arsenm wrote:

> I don't understand why there's a discrepancy in this case. Why does anything think the alignment of a packed struct is anything other than 1? Why is the C alignment claiming something higher?


Just because something is a packed struct in LLVM IR doesn't mean it was a packed struct in C.


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

https://reviews.llvm.org/D55067





More information about the cfe-commits mailing list