aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-02-21 13:00:18 +0000
committerLuke Lau <luke@igalia.com>2023-02-22 10:15:05 +0000
commitb02b1e0ed6720a8a019c4468424c830c49b1e981 (patch)
treed238db62d979e0c2bfac8bce26629ea9030675b7 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent28ee6040710fff44ae1349eadabd4cb4a9b1b1b8 (diff)
downloadllvm-b02b1e0ed6720a8a019c4468424c830c49b1e981.zip
llvm-b02b1e0ed6720a8a019c4468424c830c49b1e981.tar.gz
llvm-b02b1e0ed6720a8a019c4468424c830c49b1e981.tar.bz2
[LV][NFC] Use ElementCount for getMaxInterleaveFactor
In order to allow targets to disable interleaving for scalable vectors, pass the entire VF's ElementCount to getMaxInterleaveFactor. This is based off of the approach used here: https://repo.hca.bsc.es/gitlab/rferrer/llvm-epi/-/commit/8d36708507b3c378078b9fe364bc548354aaec86 The plan would then be to disable interleaving on scalable VFs on RISC-V in a follow up patch. See https://reviews.llvm.org/D143723#4132349 Reviewed By: reames Differential Revision: https://reviews.llvm.org/D144474
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions