This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Don't treat arguments as producesFalseLanesZero
ClosedPublic

Authored by dmgreen on Jan 10 2023, 9:09 AM.

Details

Summary

Invalid tail predicated loops could be formed by treating function arguments as FalseLanesZero due to getGlobalReachingDefs not returning any values. Make sure we check that the list of Defs is empty and if so treat it like a unknown value.

Diff Detail

Event Timeline

dmgreen created this revision.Jan 10 2023, 9:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 9:09 AM
dmgreen requested review of this revision.Jan 10 2023, 9:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 9:09 AM
samtebbs accepted this revision.Jan 11 2023, 1:34 AM
This revision is now accepted and ready to land.Jan 11 2023, 1:34 AM
This revision was automatically updated to reflect the committed changes.