summaryrefslogtreecommitdiff
path: root/mlir/lib/Conversion/XeVMToLLVM/XeVMToLLVM.cpp
AgeCommit message (Collapse)Author
2025-11-19[mlir][LLVM] Resync memory effect attribute with LLVM IR (#168568)darkbuck
- Add missing locations, namely 'ErrnoMem', 'TargetMem0', and 'TargetMem1'.
2025-10-10[MLIR][XeVM] XeVM to LLVM: Add conversion patterns for id ops (#162536)Sang Ik Lee
XeVM to LLVM pass: Add conversion patterns for XeVM id ops. Target OpenCL functions described here: https://registry.khronos.org/OpenCL/sdk/3.0/docs/man/html/get_group_id.html
2025-10-08[MLIR][XeVM] Add XeVM 1D block operations to OpenCL calls conversion. (#161702)Sang Ik Lee
XeVM 1D block load store operations are converted to OpenCL subgroup operations described here: https://registry.khronos.org/OpenCL/extensions/intel/cl_intel_subgroup_local_block_io.html
2025-10-06[mlir] Simplify unreachable type switch cases. NFC. (#162032)Jakub Kuderski
Use `DefaultUnreachable` from https://github.com/llvm/llvm-project/pull/161970.
2025-09-09[MLIR][XeVM] Add lowering for llvm load store ops with XeVM cache control ↵Sang Ik Lee
(#156768) Add lowering support for LLVM load / store ops with XeVM cache control attributes.
2025-07-24[mlir] Remove unused includes (NFC) (#150476)Kazu Hirata
These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-specific build failures.
2025-07-22[mlir][NFC] update `Conversion` create APIs (7/n) (#149889)Maksim Levental
See https://github.com/llvm/llvm-project/pull/147168 for more info.
2025-07-11[MLIR][Conversion] Add convert-xevm-to-llvm pass. [Re-attempt] (#148103)Sang Ik Lee
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>
2025-07-10Revert "[MLIR][Conversion] Add convert-xevm-to-llvm pass." (#148081)Charitha Saumya
Reverts llvm/llvm-project#147375
2025-07-10[MLIR][Conversion] Add convert-xevm-to-llvm pass. (#147375)Sang Ik Lee
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>