[llvm] [RISCV][GISEL] Legalize G_PTRMASK (PR #73062)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 14:11:50 PST 2023
michaelmaitland wrote:
> `G_PTRMASK` is for alias analysis. It should give better results if it exists longer in the pipeline and is only selected at the end. If every target goes through the p->int and int->p early, you will get worse results. Furthermore, GPUs with funny address spaces may do it completely different.
I will move this to instruction selection. Are any targets doing alias analysis between legalization and instruction-selection?
https://github.com/llvm/llvm-project/pull/73062
More information about the llvm-commits
mailing list