[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 30 05:14:20 PDT 2024


VyacheslavLevytskyy wrote:

@efriedma-quic @arsenm Appreciate your feedback on the issue. I'm going to close this PR in favor of the solution specific and local wrt. SPIR-V (https://github.com/llvm/llvm-project/pull/114216) when it gets approved.

On another note, in my opinion, still we should think about this subtle difference between `G_BITCAST` and IR's `bitcast` (as in https://github.com/llvm/llvm-project/pull/110270#issuecomment-2383746328) and probably proceed with deletion of this check for pointers `if Source Type is equal to Destination Type then report error "bitcast must change the type"`, but, given a wider context unrelated to SPIR-V specifically, this is a matter for a separate discussion.

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


More information about the llvm-commits mailing list