Skip to content
Commit 0098f2ae authored by Ilia Diachkov's avatar Ilia Diachkov
Browse files

[SPIRV] Add SPIR-V specific intrinsics, two passes and tests

The patch adds SPIR-V specific intrinsics required to keep information
critical to SPIR-V consistency (types, constants, etc.) during translation
from IR to MIR.

Two related passes (SPIRVEmitIntrinsics and SPIRVPreLegalizer) and several
LIT tests (passed with this change) have also been added.

It also fixes the issue with opaque pointers in SPIRVGlobalRegistry.cpp
and the mismatch of the data layout between the SPIR-V backend and clang
(Issue #55122).

Differential Revision: https://reviews.llvm.org/D124416



Co-authored-by: default avatarAleksandr Bezzubikov <zuban32s@gmail.com>
Co-authored-by: default avatarMichal Paszkowski <michal.paszkowski@outlook.com>
Co-authored-by: default avatarAndrey Tretyakov <andrey1.tretyakov@intel.com>
Co-authored-by: default avatarKonrad Trifunovic <konrad.trifunovic@intel.com>
parent f6c74932
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment