aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-10-24 12:23:09 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-10-24 12:23:09 +0100
commitce356e1546c9c538134dcdfc9f2d728b8ba0719c (patch)
tree50d5cb367b1f150a91350f6c8d8491cbee0449c2 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent62b17a76971cd17c1ebd4ce00a536b0b74af98b2 (diff)
downloadllvm-ce356e1546c9c538134dcdfc9f2d728b8ba0719c.zip
llvm-ce356e1546c9c538134dcdfc9f2d728b8ba0719c.tar.gz
llvm-ce356e1546c9c538134dcdfc9f2d728b8ba0719c.tar.bz2
[DAG] Add BuildVectorSDNode::getRepeatedSequence helper to recognise multi-element splat patterns
Replace the X86 specific isSplatZeroExtended helper with a generic BuildVectorSDNode method. I've just used this to simplify the X86ISD::BROADCASTM lowering so far (and remove isSplatZeroExtended), but we should be able to use this in more places to lower to complex broadcast patterns. Differential Revision: https://reviews.llvm.org/D87930
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions