This is an archive of the discontinued LLVM Phabricator instance.

[flang] Remove needless "anyIntrinsicDefinedOps", fixing iterative expr analysis
ClosedPublic

Authored by klausler on Aug 28 2023, 3:01 PM.

Details

Summary

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.

Diff Detail

Event Timeline

klausler created this revision.Aug 28 2023, 3:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 3:01 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 28 2023, 3:01 PM
vdonaldson accepted this revision.Aug 28 2023, 3:09 PM
This revision is now accepted and ready to land.Aug 28 2023, 3:09 PM