[all-commits] [llvm/llvm-project] 1a6310: [Support] Move some APInt declarations in Division...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Dec 22 22:16:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a6310bf87f6497a9448ae5ab13d75b339c758af
      https://github.com/llvm/llvm-project/commit/1a6310bf87f6497a9448ae5ab13d75b339c758af
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M llvm/lib/Support/DivisionByConstantInfo.cpp

  Log Message:
  -----------
  [Support] Move some APInt declarations in DivisionByConstantInfo to their first assignment.

This uses copy initialization instead of default constructing the
APInts and assigning over them.




More information about the All-commits mailing list