[flang-commits] [PATCH] D108931: [flang] Fold CSHIFT

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Aug 30 13:00:18 PDT 2021


klausler added inline comments.


================
Comment at: flang/lib/Evaluate/fold-implementation.h:557-559
+  if (!array || !shiftExpr || !dim) {
+    return Expr<T>{std::move(funcRef)};
+  }
----------------
PeteSteinfeld wrote:
> Can you move this code down below after you get the "shift" variable below and avoid the "if" statement at line 563?
If shiftExpr isn't available, I can't try to convert it.


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

https://reviews.llvm.org/D108931



More information about the flang-commits mailing list