[PATCH] D85524: [Loads] Add canReplacePointersIfEqual helper.

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 10:30:31 PDT 2020


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

LGTM



================
Comment at: llvm/include/llvm/Analysis/Loads.h:166
+bool canReplacePointersIfEqual(Value *A, Value *B, const DataLayout &DL,
+                               Instruction *CtxI);
 }
----------------
Would it be better if it starts with `CanReplace...`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85524



More information about the llvm-commits mailing list