[llvm] [RISCV] Don't use V0 directly in patterns (PR #88496)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 12:52:11 PDT 2024
================
@@ -116,8 +123,8 @@ bool RISCVFoldMasks::convertVMergeToVMv(MachineInstr &MI) const {
TRI->lookThruCopyLike(FalseReg, MRI))
return false;
- assert(MI.getOperand(4).isReg() && MI.getOperand(4).getReg() == RISCV::V0);
- if (!isAllOnesMask(V0Defs.lookup(&MI)))
+ // assert(MI.getOperand(4).isReg() && MI.getOperand(4).getReg() == RISCV::V0);
----------------
mshockwave wrote:
please remove this line.
https://github.com/llvm/llvm-project/pull/88496
More information about the llvm-commits
mailing list