commit | 6e9255f2d059c0fe09358627b68b13fa05706ab6 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Dec 06 19:09:37 2016 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Dec 06 19:09:37 2016 +0000 |
tree | 574d9752896fe82b18b037837fc3bb3ec006d625 | |
parent | 02d83470abef7b2defbbb1cd3661f8b7cc895473 [diff] |
[DAGCombine] Add (sext_in_reg (zext x)) -> (sext x) combine Handle the case where a sign extension has ended up being split into separate stages (typically to get around vector legal ops) and a zext + sext_in_reg gets inserted. Differential Revision: https://reviews.llvm.org/D27461 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288842 91177308-0d34-0410-b5e6-96231b3b80d8