[all-commits] [llvm/llvm-project] 1ebc96: [X86] getIntImmCostInst - silence static analyzer ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jul 23 07:49:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ebc965116a89036cf1a255893d67fac8e690bea
      https://github.com/llvm/llvm-project/commit/1ebc965116a89036cf1a255893d67fac8e690bea
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-07-23 (Sun, 23 Jul 2023)

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

  Log Message:
  -----------
  [X86] getIntImmCostInst - silence static analyzer overflow warning. NFCI.

Use the divideCeil uint64_t return type directly


  Commit: 9da119a6a6d73929bbdb2de3b1a17c4e661b9b36
      https://github.com/llvm/llvm-project/commit/9da119a6a6d73929bbdb2de3b1a17c4e661b9b36
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-07-23 (Sun, 23 Jul 2023)

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

  Log Message:
  -----------
  [X86] getIntImmCostInst - avoid repeating getNumOperands() in for-loop (style). NFC.


Compare: https://github.com/llvm/llvm-project/compare/31d8bdbcad91...9da119a6a6d7


More information about the All-commits mailing list