[llvm-branch-commits] [llvm] [SPIRV] Do not eliminate `OpPointerType` even if unused (PR #182551)
Juan Manuel Martinez CaamaƱo via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Feb 27 06:54:49 PST 2026
jmmartinez wrote:
> @jmmartinez could we try @s-perron's suggestion?
>
> > I believe it is possible to move this after the post-legalizer and before instruction selection. We just need to update the type in the registery and add the opcopylogical.
Sure. I didn't have the bandwidth this week due to a non SPIRV ticket.
I've tried the implicit uses but it won't work because some of the generic opcodes won't accept extra operands through implicit uses (the machine verifier rejects the IR).
@s-perron If you can help with this I'd really appreciate it. I'm not familiar enough with the whole backend.
https://github.com/llvm/llvm-project/pull/182551
More information about the llvm-branch-commits
mailing list