-
- Downloads
[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.
Showing
- llvm/include/llvm/Support/DivisionByConstantInfo.h 38 additions, 0 deletionsllvm/include/llvm/Support/DivisionByConstantInfo.h
- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp 17 additions, 122 deletionsllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
- llvm/lib/Support/CMakeLists.txt 1 addition, 0 deletionsllvm/lib/Support/CMakeLists.txt
- llvm/lib/Support/DivisionByConstantInfo.cpp 107 additions, 0 deletionsllvm/lib/Support/DivisionByConstantInfo.cpp
Loading