[PATCH] D98718: [AA][NFC] Convert AliasResult to class containing offset for PartialAlias case.

Daniil Fukalov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 16 09:17:55 PDT 2021


dfukalov added inline comments.


================
Comment at: llvm/include/llvm/Analysis/MemorySSA.h:304
+      MemoryAccess *DMA, bool Optimized = false,
+      Optional<AliasResult> AR = AliasResult(AliasResult::MayAlias)) {
     if (!Optimized) {
----------------
Perhaps `AliasResult` should be replaced with `AliasResult::Result` here and in similar places in MemorySSA? @nikic, @asbirlea, what do you think?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98718



More information about the llvm-commits mailing list