aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2024-08-17 00:49:27 +0800
committerGitHub <noreply@github.com>2024-08-17 00:49:27 +0800
commitaba3476111fbc06f652453c13c99ca029646df47 (patch)
tree6e26e79d65fbe7645348b7efcdf14529b9512369 /llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
parent3f18a0a71cc29c502591a3d29a1845a011415f2a (diff)
downloadllvm-aba3476111fbc06f652453c13c99ca029646df47.zip
llvm-aba3476111fbc06f652453c13c99ca029646df47.tar.gz
llvm-aba3476111fbc06f652453c13c99ca029646df47.tar.bz2
[RISCV] Move vmv.v.v peephole from SelectionDAG to RISCVVectorPeephole (#100367)
This is split off from #71764, and moves only the vmv.v.v part of performCombineVMergeAndVOps to work on MachineInstrs. In retrospect trying to handle PseudoVMV_V_V and PseudoVMERGE_VVM in the same function makes the code quite hard to read, so this just does it in a separate peephole. This turns out to be simpler since for PseudoVMV_V_V we don't need to convert the Src instruction to a masked variant, and we don't need to create a fake all ones mask.
Diffstat (limited to 'llvm/lib/Target/DirectX/DirectXTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions