This is an archive of the discontinued LLVM Phabricator instance.

NFC: Migrate SpeculativeExecution to work on InstructionCost
ClosedPublic

Authored by sdesmalen on Jan 25 2021, 6:21 AM.

Details

Summary

This patch migrates cost values and arithmetic to work on InstructionCost.
When the interfaces to TargetTransformInfo are changed, any InstructionCost
state will propagate naturally.

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Diff Detail

Event Timeline

sdesmalen created this revision.Jan 25 2021, 6:21 AM
sdesmalen requested review of this revision.Jan 25 2021, 6:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 25 2021, 6:21 AM
This revision is now accepted and ready to land.Jan 25 2021, 8:29 AM
This revision was landed with ongoing or failed builds.Feb 1 2021, 4:13 AM
This revision was automatically updated to reflect the committed changes.