This is an archive of the discontinued LLVM Phabricator instance.

[NewGVN] Only perform symbolic evaluation on instructions (NFC)
ClosedPublic

Authored by ManuelJBrito on Aug 3 2023, 5:34 AM.

Details

Summary

Every current user of performSymbolicEvaluation passes an instruction and I don't see any case where we would need to pass anything else.
So this patch restricts the argument to an Instruction and simplifies the code accordingly.

Diff Detail

Event Timeline

ManuelJBrito created this revision.Aug 3 2023, 5:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 5:34 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
ManuelJBrito requested review of this revision.Aug 3 2023, 5:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2023, 5:34 AM
asbirlea accepted this revision.Aug 3 2023, 10:59 AM
This revision is now accepted and ready to land.Aug 3 2023, 10:59 AM
This revision was landed with ongoing or failed builds.Aug 4 2023, 12:27 AM
This revision was automatically updated to reflect the committed changes.

Thanks for the review!