[llvm] [ISel] Replace expensive move from wzr by two moves via floating point immediate (PR #146538)

Julian Nagele via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 10:19:58 PDT 2025


juliannagele wrote:

> There are certain cpus where it will not be helpful. Do you mind adding a tuning feature that keeps the old patterns for cortex-a53, a55, a510, a520 and a310. Those are all in-order and this will just be extra instructions.

Sure, do you maybe have an example I can work off, not sure how to go about this.

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


More information about the llvm-commits mailing list