[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:39:36 PST 2023


nikic added a comment.

You also shouldn't need to introduce any new handling for the fwrapv option. I'm not sure how exactly it is currently threaded through, but there must be existing handling for it already. For example, there is isSignedOverflowDefined() on LangOptions.


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