[PATCH] D38440: [InstCombine] Use APInt for all the math in foldICmpDivConstant

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 22:27:00 PDT 2017

craig.topper created this revision.

This currently uses ConstantExpr to do its math, but as noted in a TODO it can all be done directly on APInt.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38440.117254.patch
Type: text/x-patch
Size: 10871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170930/1d43c748/attachment-0001.bin>

More information about the llvm-commits mailing list