[clang] [clang][LoongArch] Align global symbol by size (PR #101309)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 31 12:17:38 PDT 2024


nikic wrote:

I think for your use case you want to implement the shouldAlignPointerArgs() hook. It exists to allow raising GV/Alloca alignment for objects used inside memcpy and similar. Check out the ARM backend for an example.

https://github.com/llvm/llvm-project/pull/101309


More information about the cfe-commits mailing list