[flang-commits] [PATCH] D150455: [flang][hlfir] Implement the scheduling part of hlfir.forall codegen

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri May 12 09:25:36 PDT 2023


jeanPerier added inline comments.


================
Comment at: flang/include/flang/Optimizer/Dialect/FIROps.td:261
 
-def fir_LoadOp : fir_OneResultOp<"load", [MemoryEffects<[MemRead]>]> {
+def fir_LoadOp : fir_OneResultOp<"load", []> {
   let summary = "load a value from a memory reference";
----------------
Note: the read effect is already on the operand "[MemRead]>:$memref", adding [MemoryEffects<[MemRead]>] actually adds an unknown read effect on top of that. Same for StoreOp.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150455



More information about the flang-commits mailing list