[InstCombine] fold udiv with common factor from muls with nuw
Unfortunately, sdiv isn't as simple because of UB due to overflow.
This fold is mentioned in PR38239:
https://bugs.llvm.org/show_bug.cgi?id=38239
llvm-svn: 338059
[InstCombine] fold udiv with common factor from muls with nuw spatel on Jul 26 2018, 12:22 PM. Authored by Tags None Subscribers None
Description
Details
|