commit | 7d5b56cb3ecf29591e8c54b7230fdb0da09f7b35 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Fri Jan 20 21:49:41 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Fri Jan 20 21:49:41 2017 +0000 |
tree | 1df1892fb371a3f11e4e13c948fc17d21e14e7b0 | |
parent | e243f513cc66b1e907a3b5836fd92a0979f8de56 [diff] |
[InstCombine] add tests to show missed canonicalization of min/max; NFC Unfortunately, recognizing these in value tracking may cause us to hit a hack in InstCombiner::visitICmpInst() more often: http://lists.llvm.org/pipermail/llvm-dev/2017-January/109340.html ...but besides being the obviously Right Thing To Do, there's a clear codegen win from identifying these patterns for several targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292655 91177308-0d34-0410-b5e6-96231b3b80d8