[llvm] [RISCV][GISEL] Legalize G_PTRMASK (PR #73062)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 25 12:13:50 PST 2023


michaelmaitland wrote:

> Is this based off another target? I see AArch64 handles this in instruction selection.

I didn’t see why this opcode couldn’t be handled generally for all targets. That sounded like it fit well where I put it. No reason why it needs to be in a target specific instruction selector. Maybe other targets can eventually reuse the generic logic added here. 

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


More information about the llvm-commits mailing list