[PATCH] D141619: [GVN] Refactor handling of pointer-select in GVN pass

Sergei Kachkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 05:56:59 PST 2023


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

Since extending MemDepResult looks not feasable (and replacing it to tag-pointer pair also looks bad because it frequently passed by value), I think we can treat select dependency as Def. It also fits naturally into existing GVN infra, and the meaning of Def dependency is already overloaded (it can be other load/store/alloca/memory intrinsic/etc.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141619



More information about the llvm-commits mailing list