[llvm] [AMDGPU][True16] si-fold-operand selecting srcidx for v_mov_b16_t16_e64 (PR #162101)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 9 23:47:39 PDT 2025
================
@@ -3990,8 +3966,8 @@ static bool getFoldableImm(Register Reg, const MachineRegisterInfo &MRI,
return false;
}
-static bool getFoldableImm(const MachineOperand *MO, int64_t &Imm,
- MachineInstr **DefMI = nullptr) {
+bool SIInstrInfo::getFoldableImm(const MachineOperand *MO, int64_t &Imm,
----------------
arsenm wrote:
I think you can make hasAnyModifiers static instead
https://github.com/llvm/llvm-project/pull/162101
More information about the llvm-commits
mailing list