[PATCH] D110747: [NFC] Restore magic and magicu to a globally visible location

Christopher Tetreault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 11:37:03 PDT 2021


ctetreau created this revision.
Herald added subscribers: dexonsmith, hiraditya, mgorny.
ctetreau requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110747

Files:
  llvm/include/llvm/Support/DivisionMagic.h
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/DivisionMagic.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110747.375973.patch
Type: text/x-patch
Size: 11119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/59c48cf5/attachment.bin>


More information about the llvm-commits mailing list