HomePhabricator

NFC: Change getUserCost to return InstructionCost

Authored by sdesmalen on Jan 20 2021, 9:17 AM.

Description

NFC: Change getUserCost to return InstructionCost

This patch migrates the TTI cost interfaces to return an InstructionCost.

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

Depends on D97382

Reviewed By: ctetreau, paulwalker-arm

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

Details

Committed
sdesmalenMar 31 2021, 2:13 AM
Reviewer
ctetreau
Differential Revision
D97466: NFC: Change getUserCost to return InstructionCost
Parents
rG49c0ab6d7611: [clang][Checkers] Extend PthreadLockChecker state dump (NFC).
Branches
Unknown
Tags
Unknown