aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-09-11 16:48:35 +0100
committerGitHub <noreply@github.com>2023-09-11 16:48:35 +0100
commitb46d7011f211d02fc4ea6261e6e0c3ef9cc144b2 (patch)
treed1fcd82d13471707cb7b4cfd43df1b73c4ec87c8 /llvm/lib/CodeGen/MachineInstr.cpp
parent26181544f7512eb2713243f301b712f845de13ef (diff)
downloadllvm-b46d7011f211d02fc4ea6261e6e0c3ef9cc144b2.zip
llvm-b46d7011f211d02fc4ea6261e6e0c3ef9cc144b2.tar.gz
llvm-b46d7011f211d02fc4ea6261e6e0c3ef9cc144b2.tar.bz2
[RISCV] Refactor extract_subvector lowering slightly. NFC (#65391)
This patch refactors extract_subvector lowering to lower to extract_subreg directly, and to shortcut whenever the index is 0 when extracting a scalable vector. This doesn't change any of the existing behaviour, but makes an upcoming patch that extends the scalable path slightly easier to read.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions