| commit | 39f2bebf415d2e8c8cc439aeb40fff5c23e9c8c1 | [log] [tgz] |
|---|---|---|
| author | Nikita Popov <nikita.ppv@gmail.com> | Sun May 26 11:43:37 2019 +0000 |
| committer | Nikita Popov <nikita.ppv@gmail.com> | Sun May 26 11:43:37 2019 +0000 |
| tree | ecedb67b42786e2c7debe8e53aec9e641423f3ce | |
| parent | 352f59879522c059f98c853e04f50fd7e46acee5 [diff] |
[InstCombine] Refactor OptimizeOverflowCheck; NFCI Extract method to compute overflow based on binop and signedness, and then make the result handling code generic. This extends the always-overflow handling to signed muls, but has currently no effect, as we don't compute always overflow for them (thus NFC). llvm-svn: 361721