[llvm] [RISCV][VLOPT] Add support for checkUsers when UserMI is a Single-Width Integer Reduction (PR #120345)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 31 06:03:56 PST 2024


================
@@ -930,6 +950,8 @@ bool RISCVVLOptimizer::isCandidate(const MachineInstr &MI) const {
   return true;
 }
 
+static MachineOperand One = MachineOperand::CreateImm(1);
----------------
michaelmaitland wrote:

updated.

https://github.com/llvm/llvm-project/pull/120345


More information about the llvm-commits mailing list