Commit 3f749a5d authored by Craig Topper's avatar Craig Topper
Browse files

[Support][SelectionDAG][GlobalISel] Hoist PostShift adjustment for IsAdd into...

[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
parent 76dc9a85
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment