[all-commits] [llvm/llvm-project] 3077bc: [NFC] Restore magic and magicu to a globally visib...

Christopher Tetreault via All-commits all-commits at lists.llvm.org
Thu Sep 30 17:43:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3077bc90de8df633d59fe30c2a2aa265d68fb987
      https://github.com/llvm/llvm-project/commit/3077bc90de8df633d59fe30c2a2aa265d68fb987
  Author: Christopher Tetreault <ctetreau at quicinc.com>
  Date:   2021-09-30 (Thu, 30 Sep 2021)

  Changed paths:
    A llvm/include/llvm/Support/DivisionByConstantInfo.h
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Support/CMakeLists.txt
    A llvm/lib/Support/DivisionByConstantInfo.cpp

  Log Message:
  -----------
  [NFC] Restore magic and magicu to a globally visible location

While these functions are only used in one location in upstream,
it has been reused in multiple downstreams. Restore this file to
a globally visibile location (outside of APInt.h) to eliminate
donwstream breakage and enable potential future reuse.

Additionally, this patch renames types and cleans up
clang-tidy issues.




More information about the All-commits mailing list