diff options
author | Sang Ik Lee <sang.ik.lee@intel.com> | 2025-07-10 16:04:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-10 16:04:36 -0700 |
commit | 76eead1bd700e165c7dcfcb6a0998d31b1782e68 (patch) | |
tree | 0e864b39dc9b67c05c89e6914b6d2142bc18301a /clang/lib/CIR/CodeGen/CIRGenModule.cpp | |
parent | 14b2d2cc3a5418d88f98b2f1ec4568e69e8fdb04 (diff) | |
download | llvm-76eead1bd700e165c7dcfcb6a0998d31b1782e68.zip llvm-76eead1bd700e165c7dcfcb6a0998d31b1782e68.tar.gz llvm-76eead1bd700e165c7dcfcb6a0998d31b1782e68.tar.bz2 |
[MLIR][Conversion] Add convert-xevm-to-llvm pass. (#147375)
Although XeVM is an LLVM extension dialect,
SPIR-V backend relies on [function
calls](https://llvm.org/docs/SPIRVUsage.html#instructions-as-function-calls)
instead of defining LLVM intrinsics to represent SPIR-V instructions.
convert-xevm-to-llvm pass lowers xevm ops to function declarations and
calls using the above naming convention.
In the future, most part of the pass should be replaced with llvmBuilder
and handled as part of translation to LLVM instead.
---------
Co-authored-by: Artem Kroviakov <artem.kroviakov@intel.com>
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
0 files changed, 0 insertions, 0 deletions