HomePhabricator

NFC: Migrate SpeculativeExecution to work on InstructionCost

Authored by sdesmalen on Jan 26 2021, 6:39 AM.

Description

NFC: Migrate SpeculativeExecution to work on InstructionCost

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

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D95356

Details

Committed
sdesmalenFeb 1 2021, 4:13 AM
Reviewer
david-arm
Differential Revision
D95356: NFC: Migrate SpeculativeExecution to work on InstructionCost
Parents
rG754ab803b8dc: [lldb] Use current execution context in SBDebugger
Branches
Unknown
Tags
Unknown