This patch adds a MVT for SPIR-V builtins. This fixes the spirv-types.ll LIT test which is failing after llvm_unreachable() was added in D136862.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/CodeGen/ValueTypes.cpp | ||
---|---|---|
592 | is it sufficient to only specify a single MVT for the different SPIRV types? |
llvm/lib/CodeGen/ValueTypes.cpp | ||
---|---|---|
592 | It is sufficient for our current use. We do not rely on IRTranslator to lower these types, but rather have a custom lowering mechanism in SPIRVCallLowering.cpp and SPIRVBuiltins.cpp. |
is it sufficient to only specify a single MVT for the different SPIRV types?