This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Add select type test to check correct ordering
ClosedPublic

Authored by clementval on Apr 7 2023, 12:49 PM.

Details

Summary

Somehow this test has been left behind in my sandbox. This
patch adds a lowering test for fir.select_type operation and
makes sure the dynamic type comaparison is done in the right
order when we have multiple CLASS IS type guard statement
for types that are linked.

This should have been posted with D138280.

Diff Detail

Event Timeline

clementval created this revision.Apr 7 2023, 12:49 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 7 2023, 12:49 PM
clementval requested review of this revision.Apr 7 2023, 12:49 PM
PeteSteinfeld accepted this revision.Apr 7 2023, 2:11 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Apr 7 2023, 2:11 PM