commit | 2b264247a9dfcad7093b492a8484a9c7244daf18 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Wed Jul 25 21:38:30 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Wed Jul 25 21:38:30 2018 +0000 |
tree | b4bff8749ed6365579b5ad568ab422ab22c2f8b1 | |
parent | 406c0440c5fc7bca370641f3f0a2d36940c88861 [diff] |
[SelectionDAG] try to convert funnel shift directly to rotate if legal If the DAGCombiner's rotate matching was working as expected, I don't think we'd see any test diffs here. This sidesteps the issue of custom lowering for rotates raised in PR38243: https://bugs.llvm.org/show_bug.cgi?id=38243 ...by only dealing with legal operations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337966 91177308-0d34-0410-b5e6-96231b3b80d8