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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 28 12:25:50 PDT 2023


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:920
+      AccessTy.AddrSpace =
+          II->getArgOperand(0)->getType()->getPointerAddressSpace();
       break;
----------------
Is the drop of the MemTy assignment here intentional?


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