aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-04-19 08:06:17 -0400
committerSanjay Patel <spatel@rotateright.com>2020-04-19 08:24:38 -0400
commitbef6e67e95fb39a8c0558624e9eeed0edc2f50e4 (patch)
tree992cbd7ccf55d2574e35555ba03bc418f912ea19 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent02b070ed497fa38fc3aca857bc2f03975ecb28a7 (diff)
downloadllvm-bef6e67e95fb39a8c0558624e9eeed0edc2f50e4.zip
llvm-bef6e67e95fb39a8c0558624e9eeed0edc2f50e4.tar.gz
llvm-bef6e67e95fb39a8c0558624e9eeed0edc2f50e4.tar.bz2
[VectorCombine] transform bitcasted shuffle to wider elements
bitcast (shuf V, MaskC) --> shuf (bitcast V), MaskC' This is the widen shuffle elements enhancement to D76727. It builds on the analysis and simplifications in D77881 and rG6a7e958a423e. The phase ordering tests show that we can simplify inverse shuffles across a binop in both directions (widen/narrow or narrow/widen) now. There's another potential transform visible in some of the remaining TODOs - move a bitcasted operand of a shuffle after the shuffle. Differential Revision: https://reviews.llvm.org/D78371
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions