[PATCH] D149507: [SeparateConstOffsetFromGEP] Fix bug handling negative offsets

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 05:32:22 PDT 2023


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

This looks reasonable to me, but maybe wait a bit in case @Peakulorain has a better suggestion.

https://github.com/llvm/llvm-project/blob/1d0ccebcd725309399262af346494242b064e2ed/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp#L590-L593 is the code negating the offset.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149507



More information about the llvm-commits mailing list