[llvm] [SPIR-V][Codegen] Represent the property of the target to declare and use typed pointers and update MachineVerifier to use it (PR #110270)
Vyacheslav Levytskyy via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 12:19:04 PDT 2024
VyacheslavLevytskyy wrote:
> That's why I think you should add a separate opcode not named G_BITCAST. You don't really get any benefit from reusing the existing opcode name, and you confuse people who aren't aware of how this works.
Appreciate your feedback. I don't quite agree with this approach in general, although probably I understand the rationale behind it. I'd rather expect that in less invasive and more trivial cases GISel could easier accommodate client targets and slightly widen its applicability.
https://github.com/llvm/llvm-project/pull/110270
More information about the llvm-commits
mailing list