[llvm] [AArch64] Fold COPY(y:gpr, DUP(x:fpr, i)) -> UMOV(y:gpr, x:fpr, i) (PR #89017)

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 22:30:57 PDT 2024


aemerson wrote:

> @aemerson Any opinions on making reg-bank-select a little better? My understanding from a while ago was that the greedy mode did not work very well (maybe?), but I feel we will eventually need something like it to produce optimal code for all the cases that could be using gpr or fpr.

I don't even know if the greedy mode works at all for AArch64, we've always used the default mode. I think we can revisit it after we rework RBS once we have FP types.

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


More information about the llvm-commits mailing list