[all-commits] [llvm/llvm-project] 278991: [flang] fold LOGICAL intrinsic calls

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Mar 25 10:39:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27899112c69836cb1e7bbb58df2f3471a882292c
      https://github.com/llvm/llvm-project/commit/27899112c69836cb1e7bbb58df2f3471a882292c
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M flang/lib/Evaluate/fold-logical.cpp
    M flang/test/Evaluate/folding01.f90

  Log Message:
  -----------
  [flang] fold LOGICAL intrinsic calls

Folding of LOGICAL intrinsic procedure was missing in the front-end causing
crash when using it in parameter expressions.
Simply fold LOGICAL calls to evaluate::Convert<T>.

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




More information about the All-commits mailing list