[PATCH] D134282: [CGP] Add generic TargetLowering::shouldAlignPointerArgs() implementation

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 17:31:47 PST 2023


hubert.reinterpretcast added a comment.

In D134282#4148884 <https://reviews.llvm.org/D134282#4148884>, @hubert.reinterpretcast wrote:

> Not that I know of without negative side-effects. For example, if we access using a TOC entry for a label for the individual string, we would end up with more TOC entries which, in turn, can lead to TOC overflow.

Looking at a case with more than one string, it seems we currently have separate csects and TOC entries for each string anyway. I am not sure that is a state we want to stay in though. I do not want to make changing that more difficult.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134282



More information about the llvm-commits mailing list