This is an archive of the discontinued LLVM Phabricator instance.

Check users of instrinsics instead of traversing entire function.
ClosedPublic

Authored by anna on Apr 11 2022, 1:56 PM.

Details

Reviewers
mkazantsev
anna
Summary

Updated LowerGuardIntrinsic and LowerWidenableCondition to check for
users of the respective intrinsic, instead of checking for guards and
widenable conditions by traversing the entire function.

This is an NFC. Should save some compile time.

Diff Detail

Event Timeline

anna created this revision.Apr 11 2022, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2022, 1:56 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
anna requested review of this revision.Apr 11 2022, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 11 2022, 1:56 PM
anna accepted this revision.Apr 27 2022, 8:45 AM

already landed. closing as done.

This revision is now accepted and ready to land.Apr 27 2022, 8:45 AM
anna closed this revision.Apr 27 2022, 8:46 AM