[all-commits] [llvm/llvm-project] cc1d13: [flang] Fold MAXLOC and MINLOC

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Oct 5 11:22:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc1d13f997f6db6f2e6c209b9449695b91a68e32
      https://github.com/llvm/llvm-project/commit/cc1d13f997f6db6f2e6c209b9449695b91a68e32
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

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

  Log Message:
  -----------
  [flang] Fold MAXLOC and MINLOC

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

Differential Revision: https://reviews.llvm.org/D110951




More information about the All-commits mailing list