| commit | 6d6eab66e0f76c8bb908492dcc863308b66f7771 | [log] [tgz] |
|---|---|---|
| author | Sanjay Patel <spatel@rotateright.com> | Thu Jul 26 19:22:41 2018 +0000 |
| committer | Sanjay Patel <spatel@rotateright.com> | Thu Jul 26 19:22:41 2018 +0000 |
| tree | 833b00bb921003640a20c2665cc308eece4338ec | |
| parent | 10c9e0e0d8c6f9651e9b2bb85518dc9302245f53 [diff] |
[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