Skip to content
  • Sam Parker's avatar
    [CostModel] Unify getMemoryOpCost · 9303546b
    Sam Parker authored
    Use getMemoryOpCost from the generic implementation of getUserCost
    and have getInstructionThroughput return the result of that for loads
    and stores.
    
    This also means that the X86 implementation of getUserCost can be
    removed with the functionality folded into its getMemoryOpCost.
    
    Differential Revision: https://reviews.llvm.org/D80984
    9303546b