[PATCH] D138784: [Coroutines] createStructType/createPointerType takes alignment in bits but receives bytes

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 16:27:39 PST 2022


dblaikie added a comment.

@ChuanqiXu	 perhaps you could help with a test case for this?
(@gchatelet you could probably find a test case for this by deliberately introducing a patch that uses the wrong size, or maybe makes something other than a pointer type? (like a const type instead?) to find a test case that fails, add extra checking for the alignment and then see if that can verify your fix?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138784



More information about the llvm-commits mailing list