[llvm] [SPIR-V] Don't replace spirv.Type with spv_track_constant (PR #134448)

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 08:56:14 PDT 2025


s-perron wrote:

Looking at the test case, I don't believe this is a problem with the handling of `spirv.Type`, but the handling of `undef`. Note that the test that was added passes without this change. It fails if you use `undef` instead of `poison`. The fix should not be special casing for `spirv.Type`.  Can you look into this more? Thanks.

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


More information about the llvm-commits mailing list