[clang-tools-extra] [RISCV] Eliminate dead li after emitting VSETVLIs (PR #65934)
Yingwei Zheng via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 24 14:40:10 PDT 2023
================
@@ -757,7 +757,8 @@ class RISCVInsertVSETVLI : public MachineFunctionPass {
bool computeVLVTYPEChanges(const MachineBasicBlock &MBB,
VSETVLIInfo &Info) const;
void computeIncomingVLVTYPE(const MachineBasicBlock &MBB);
- void emitVSETVLIs(MachineBasicBlock &MBB);
+ void emitVSETVLIs(MachineBasicBlock &MBB,
+ SmallVectorImpl<MachineInstr *> &PossiblyDeadVLInstrs);
----------------
dtcxzyw wrote:
I don't think it is a typo.
https://github.com/llvm/llvm-project/pull/65934
More information about the cfe-commits
mailing list