This is an archive of the discontinued LLVM Phabricator instance.

Analysis: Add AssumptionCache to isSafeToSpeculativelyExecute
ClosedPublic

Authored by arsenm on Sep 19 2022, 2:08 PM.

Details

Reviewers
jdoerfert
Summary

Does not update any of the uses.

Diff Detail

Event Timeline

arsenm created this revision.Sep 19 2022, 2:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 2:08 PM
arsenm requested review of this revision.Sep 19 2022, 2:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 19 2022, 2:08 PM
Herald added a subscriber: wdng. · View Herald Transcript
jdoerfert accepted this revision.Sep 19 2022, 2:14 PM

One nit to consider. LG

llvm/lib/Transforms/Scalar/GVN.cpp
1541

Might be worth to do /* AC */ nullptr but we don't do that consistently unfortunately.

This revision is now accepted and ready to land.Sep 19 2022, 2:14 PM
arsenm added inline comments.Sep 19 2022, 2:15 PM
llvm/lib/Transforms/Scalar/GVN.cpp
1541

I'm queuing up patches to pass it through everywhere, so it won't stay like this long