This is an archive of the discontinued LLVM Phabricator instance.

[flang] Correct folding of SAME_TYPE_AS()
ClosedPublic

Authored by klausler on Dec 15 2022, 10:53 AM.

Details

Summary

The result can't be known to be true at compilation time when
either operand is polymorphic.

Diff Detail

Event Timeline

klausler created this revision.Dec 15 2022, 10:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 10:53 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Dec 15 2022, 10:53 AM
This revision is now accepted and ready to land.Dec 15 2022, 11:15 AM
This revision was automatically updated to reflect the committed changes.