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

Dhruv Chawla via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 22:21:15 PDT 2024


dc03-work wrote:

> Morning - I was looking into https://godbolt.org/z/njh7rs44G. Are most of the changes due to G_EXTRACT_VECTOR_ELT requiring the result to be a FPR? Is it possible to change that?

Ah, I somehow missed this. Yes, the result has to be an FPR. No, I don't think its possible to change this, without being able to schedule the RegBank for extract after the RegBank for the result has been selected.

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


More information about the llvm-commits mailing list