niwinanto wrote: > Don't understand why RISCV is overloading this in the first place; it looks like it's augmented a bunch of generic heuristics without any real target specific handling So, you mean I should move this to generic function? https://github.com/llvm/llvm-project/pull/73924