[flang-commits] [PATCH] D110951: [flang] Fold MAXLOC and MINLOC

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Oct 1 11:29:27 PDT 2021


klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
klausler requested review of this revision.

Generalize the code that folds FINDLOC to also handle
folding for MAXLOC and MINLOC.


https://reviews.llvm.org/D110951

Files:
  flang/include/flang/Evaluate/type.h
  flang/lib/Evaluate/fold-character.cpp
  flang/lib/Evaluate/fold-integer.cpp
  flang/lib/Evaluate/fold-real.cpp
  flang/lib/Evaluate/fold-reduction.h
  flang/test/Evaluate/folding30.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110951.376582.patch
Type: text/x-patch
Size: 16312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20211001/d92ef32c/attachment-0001.bin>


More information about the flang-commits mailing list