[PATCH] D142872: Honor the fwrapv option when generating the inbounds GEP .

Nikita Popov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 30 03:30:04 PST 2023


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

CreateConstArrayGEP currently always creates an inbounds GEP. You need to modify it make inbounds option / use a different method, not supress it in the constant folding infrastructure.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142872



More information about the cfe-commits mailing list