[llvm] [RISCV] Fix type inference ambiguity in SwapSysReg pattern (PR #184305)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 08:59:39 PST 2026


topperc wrote:

> I'm OK with this change, but we don't have this issue in upstream so can you explain the case where you met this problem?

The SwapSysReg is never instantiated. The SwapSysRegImm that is used already has the same fix.

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


More information about the llvm-commits mailing list