[all-commits] [llvm/llvm-project] 3f749a: [Support][SelectionDAG][GlobalISel] Hoist PostShif...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Jan 4 15:31:47 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3f749a5d9dfd6111fff77e97ffa4a0f658ae3c41
https://github.com/llvm/llvm-project/commit/3f749a5d9dfd6111fff77e97ffa4a0f658ae3c41
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M llvm/include/llvm/Support/DivisionByConstantInfo.h
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Support/DivisionByConstantInfo.cpp
M llvm/unittests/Support/DivisionByConstantTest.cpp
Log Message:
-----------
[Support][SelectionDAG][GlobalISel] Hoist PostShift adjustment for IsAdd into UnsignedDivideUsingMagic.
Instead of doing the adjustment in 3 different places in the code
base, do it inside UnsignedDivideUsingMagic::get.
Differential Revision: https://reviews.llvm.org/D141014
More information about the All-commits
mailing list