[all-commits] [llvm/llvm-project] 2a30a6: [flang] Remove needless "anyIntrinsicDefinedOps", ...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Aug 29 07:33:45 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a30a6dc91b913f312ee16a105c9968b3a79641d
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M flang/include/flang/Semantics/semantics.h
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-names.cpp

  Log Message:
  [flang] Remove needless "anyIntrinsicDefinedOps", fixing iterative expr analysis

The flag "anyIntrinsicDefinedOps" is always set nowadays, as there are intrinsic
modules that define operator(==) and (!=).  This disables the iterative
expression analysis mechanism, also unnecessarily, and it is possible to
overflow the stack when analyzing very deep expression trees like the ones
that show up in artificial stress tests.  Remove the flag.

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

More information about the All-commits mailing list