commit | 86366d2a15d1012984db6e761a4c465fad98de72 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Tue Jun 26 12:41:15 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Tue Jun 26 12:41:15 2018 +0000 |
tree | 49749f471744ffc48927d67a9cf39c7830b18140 | |
parent | 67ad29ab383e824eb793c94bc72d66ef47f26073 [diff] |
[InstCombine] fold udiv with sext bool divisor Note: I didn't add a hasOneUse() check because the existing, related fold doesn't have that check. I suspect that the improved analysis and codegen make these some of the rare canonicalization cases where we allow an increase in instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335597 91177308-0d34-0410-b5e6-96231b3b80d8