[PATCH] D99648: [GVN] Refactor analyzeLoadFromClobberingWrite to simplify code

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 31 11:13:07 PDT 2021


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/VNCoercion.cpp:199
   // anything to the load.  In this case, they really don't alias at all, AA
   // must have gotten confused.
   uint64_t LoadSize = DL.getTypeSizeInBits(LoadTy).getFixedSize();
----------------
You may want to move this comment down, as it belongs to the moved condition.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99648



More information about the llvm-commits mailing list