llvm-project/mlir/test/Conversion/SPIRVToLLVM
Weiwei Li 1e4cfe5e4f [mlir][SPIRVToLLVM] Propagate location attribute from spv.GlobalVariable to llvm.mlir.global
This patch is mainly to propogate location attribute from spv.GlobalVariable to llvm.mlir.global.

It also contains three small changes.

1. Remove the restriction on UniformConstant In SPIRVToLLVM.cpp;
2. Remove the errorCheck on relaxedPrecision when deserializering SPIR-V in Deserializer.cpp
3. In SPIRVOps.cpp, let ConstantOp take signedInteger too.

Co-authered: Alan Liu <alanliu.yf@gmail.com> and Xinyi Liu <xyliuhelen@gmail.com>

Reviewed by:antiagainst

Differential revision: https://reviews.llvm.org/D110207
2021-10-05 00:09:09 +08:00
..
arithmetic-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
bitwise-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
cast-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
comparison-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
constant-op-to-llvm.mlir [MLIR][SPIRV] Rename `spv.constant` to `spv.Constant`. 2021-03-04 16:15:56 -05:00
control-flow-ops-to-llvm.mlir [MLIR][SPIRV] Rename `spv.selection` to `spv.mlir.selection`. 2021-03-06 16:05:31 +01:00
func-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
glsl-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
logical-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
lower-host-to-llvm-calls.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
memory-ops-to-llvm.mlir [mlir][SPIRVToLLVM] Propagate location attribute from spv.GlobalVariable to llvm.mlir.global 2021-10-05 00:09:09 +08:00
misc-ops-to-llvm.mlir [MLIR][SPIRV] Rename `spv.undef` to `spv.Undef`. 2021-03-05 15:49:44 -05:00
module-ops-to-llvm.mlir [mlir][spirv] Use SingleBlock + NoTerminator for spv.module 2021-06-09 14:00:06 -04:00
shift-ops-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00
spirv-types-to-llvm-invalid.mlir [MLIR][SPIRV] Support identified and recursive structs. 2020-10-13 10:18:21 -04:00
spirv-types-to-llvm.mlir [mlir] use built-in vector types instead of LLVM dialect types when possible 2021-01-12 10:04:28 +01:00