llvm-project/mlir/test/Conversion/SPIRVToLLVM
George Mitenkov e850558cdc [MLIR][SPIRVToLLVM] Added a hook for descriptor set / binding encoding
This patch introduces a hook to encode descriptor set
and binding number into `spv.globalVariable`'s symbolic name. This
allows to preserve this information, and at the same time legalize
the global variable for the conversion to LLVM dialect.

This is required for `mlir-spirv-cpu-runner` to convert kernel
arguments into LLVM.

Also, a couple of some nits added:
- removed unused comment
- changed to a capital letter in the comment

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D86515
2020-08-27 08:27:42 +03:00
..
arithmetic-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
bitwise-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
cast-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
comparison-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
constant-op-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
control-flow-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Conversion pattern for loop op 2020-08-05 10:33:54 +03:00
func-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
glsl-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
logical-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
memory-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Added a hook for descriptor set / binding encoding 2020-08-27 08:27:42 +03:00
misc-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
module-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Implementation of SPIR-V module conversion pattern 2020-06-24 20:42:50 -04:00
shift-ops-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00
spirv-types-to-llvm-invalid.mlir [MLIR][SPIRVToLLVM] Additional conversions for spirv-runner 2020-08-18 19:09:59 +03:00
spirv-types-to-llvm.mlir [MLIR][SPIRVToLLVM] Removed std to llvm patterns from the conversion 2020-08-21 00:26:33 +03:00