[all-commits] [llvm/llvm-project] 061db1: Fix MSVC "signed/unsigned mismatch" warning. NFC.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon May 13 05:45:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 061db17a3075e34c55ebd463d06e16771e398e04
      https://github.com/llvm/llvm-project/commit/061db17a3075e34c55ebd463d06e16771e398e04
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp

  Log Message:
  -----------
  Fix MSVC "signed/unsigned mismatch" warning. NFC.


  Commit: 1a4b113a41266b94fe217e5fe90d91db15d2356b
      https://github.com/llvm/llvm-project/commit/1a4b113a41266b94fe217e5fe90d91db15d2356b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp

  Log Message:
  -----------
  [CostModel][X86] getCastInstrCost - update cost tables to support CostKinds

Add TypeConversionCostKindTblEntry to hold the costs kinds and update the cast tables to take the existing default codesize/latency/sizelatency values (I'll update these values in future commits).

I've moved AdjustCost to the end of the function to ensure we don't accidentally use it, apart from when we fallback to default cost calculations.


Compare: https://github.com/llvm/llvm-project/compare/e76b257483e6...1a4b113a4126

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list