[all-commits] [llvm/llvm-project] e577e7: [RISCV] Move vector pseudo hasAllNBitUsers switch ...
Luke Lau via All-commits
all-commits at lists.llvm.org
Tue Oct 3 04:24:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e577e7025d33ca1164206f1ccc5e20adbdbe7de6
https://github.com/llvm/llvm-project/commit/e577e7025d33ca1164206f1ccc5e20adbdbe7de6
Author: Luke Lau <luke at igalia.com>
Date: 2023-10-03 (Tue, 03 Oct 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
Log Message:
-----------
[RISCV] Move vector pseudo hasAllNBitUsers switch into RISCVInstrInfo. NFC (#67593)
The handling for vector pseudos in hasAllNBitUsers is duplicated across
RISCVISelDAGToDAG and RISCVOptWInstrs. This deduplicates it between the
two,
with the common denominator between the two call sites being the opcode
and
SEW: We need to handle extracting these separately since one operates at
the
SelectionDAG level and the other at the MachineInstr level.
More information about the All-commits
mailing list