[PATCH] D150583: [IR] Add getAccessType to Instruction

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 06:43:16 PDT 2023


luke added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:920
+      AccessTy.AddrSpace =
+          II->getArgOperand(0)->getType()->getPointerAddressSpace();
       break;
----------------
nikic wrote:
> Is the drop of the MemTy assignment here intentional?
Doesn't look like it. I've removed the unnecessary diffs, sorry about that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150583



More information about the llvm-commits mailing list