diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-12-23 14:52:23 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-12-23 15:07:30 +0000 |
commit | 71fc4bbdd2009019acca0f66a7574f97966620fc (patch) | |
tree | c50991b01cda84e80e1775aa2ab7de4054642d13 /clang/lib/Driver/ToolChain.cpp | |
parent | 0ff20f2f4448e24304b25c28bcc889806874488d (diff) | |
download | llvm-71fc4bbdd2009019acca0f66a7574f97966620fc.zip llvm-71fc4bbdd2009019acca0f66a7574f97966620fc.tar.gz llvm-71fc4bbdd2009019acca0f66a7574f97966620fc.tar.bz2 |
[X86][SSE] Add ISD::ROTR support
Fix issue in TargetLowering::expandROT where we only attempt to flip a rotation if the other direction has better support - this matches TargetLowering::expandFunnelShift
This allows us to enable ISD::ROTR lowering on SSE targets, which particularly simplifies/improves codegen for splat amount and AVX2 per-element shifts.
Diffstat (limited to 'clang/lib/Driver/ToolChain.cpp')
0 files changed, 0 insertions, 0 deletions