dominik-steenken wrote: > I'm not sure this is the right fix for the issue. Just like for allocas, the > global variable alignment is a _minimum_ required alignment, which can and > should be raised by targets if it improves code generation. (The exception to > this is if the global has a section.) > > It looks like CGP has a shouldAlignPointerArgs hook for this purpose, but > that seems overly specific for what is desired here. I'm surprised we don't > seem have something more generic for this...
Like i said, i'm very open to moving this to someplace different, just lacking the background knowledge of where to put it :) https://github.com/llvm/llvm-project/pull/142346 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits