When expanding integer division by a constant, replace it with a simple multiplication by a magic number, rather than generating a full division loop.
Implementation follows the DAG code in TargetLowering::BuildSDIV().
Ref: "Hacker's Delight" or "The PowerPC Compiler Writer's Guide".