[PATCH] D98611: [InstSimplify] Restrict a GEP transform to avoid provenance changes

Simonas Kazlauskas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 17:08:37 PDT 2021


nagisa added a comment.

I split the NFCs out into a different diff. I also revised the approach slightly in an attempt to reduce code duplication. LMK if that (e.g. P's capture by reference) seems too magical, and I'm happy to revert to duplicating the checks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98611



More information about the llvm-commits mailing list