This is an archive of the discontinued LLVM Phabricator instance.

[NewGVN] Use ExprResult to add extra predicate users.
ClosedPublic

Authored by fhahn on Apr 15 2021, 7:10 AM.

Details

Summary

This patch updates performSymbolicPredicateInfoEvaluation to manage
registering additional dependencies using ExprResult. Similar to D99987,
this fixes an issues where we failed to track the correct dependency for
a phi-of-ops value, which is marked as temporary.

Fixes PR49873.

Diff Detail

Event Timeline

fhahn created this revision.Apr 15 2021, 7:10 AM
fhahn requested review of this revision.Apr 15 2021, 7:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 15 2021, 7:10 AM
foad added a subscriber: foad.Apr 19 2021, 1:52 AM
fhahn updated this revision to Diff 339993.Apr 23 2021, 5:29 AM

rebased after landing 2b15262f89bc

asbirlea accepted this revision.Apr 23 2021, 12:41 PM

Thanks, looks good.
Could you add the const to resolve the clang-tidy warning?

This revision is now accepted and ready to land.Apr 23 2021, 12:41 PM
ruiling accepted this revision.Apr 24 2021, 4:15 PM

Thanks for the fixing! The rebased version sounds good to go with fixing the minor clang-tidy warning.

This revision was landed with ongoing or failed builds.Apr 25 2021, 3:14 AM
This revision was automatically updated to reflect the committed changes.