[SPIR-V] Fix types of internal intrinsic functions and add a test case for...
[SPIR-V] Fix types of internal intrinsic functions and add a test case for __builtin_alloca() (#92265) This PR generation of argument types of internal intrinsic functions `spv_const_composite` and `spv_track_constant`, so that composite constants of ConstantVector type preserve their correct type in transformation passes and can be successfully used further by LLVM intrinsic functions. The added test case serves two purposes: it is to check the above mentioned fix and to demonstrate that a call to __builtin_alloca() maps to instructions from SPV_INTEL_variable_length_array when this extension is available.
parent
b6fa78d5
Please register or sign in to comment