diff options
| author | Fabian Mora <fmora.dev@gmail.com> | 2023-05-25 20:31:57 +0000 |
|---|---|---|
| committer | fmorac <fmora.dev@gmail.com> | 2023-05-25 21:40:25 +0000 |
| commit | 330a232ae76139c3970df5ccaf1b51640cbd4d66 (patch) | |
| tree | 837067796792a798093bb0ce9e34e8bf40d3c651 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp | |
| parent | ee740b714ba0de41f48a4fb4717fa9b9a22fedf2 (diff) | |
| download | llvm-330a232ae76139c3970df5ccaf1b51640cbd4d66.zip llvm-330a232ae76139c3970df5ccaf1b51640cbd4d66.tar.gz llvm-330a232ae76139c3970df5ccaf1b51640cbd4d66.tar.bz2 | |
[mlir][gpu] Add i64 & f64 support to gpu.shuffle
This patch adds support for i64, f64 values in `gpu.shuffle`, rewriting 64bit shuffles into two 32bit shuffles.
The reason behind this change is that both CUDA & HIP support this kind of shuffling.
The implementation provided by this patch is based on the LLVM IR emitted by clang for 64bit shuffles when using `-O3`.
Reviewed By: makslevental
Differential Revision: https://reviews.llvm.org/D148974
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
