[all-commits] [llvm/llvm-project] ae21e3: [mlir][spirv] Add spv.GroupNonUniformElect and spv...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Sun Jan 26 07:41:10 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ae21e37eb43ef026ac523891bdeae38e5934f469
https://github.com/llvm/llvm-project/commit/ae21e37eb43ef026ac523891bdeae38e5934f469
Author: Lei Zhang <antiagainst at google.com>
Date: 2020-01-26 (Sun, 26 Jan 2020)
Changed paths:
M mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
M mlir/include/mlir/Dialect/SPIRV/SPIRVNonUniformOps.td
M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
M mlir/test/Dialect/SPIRV/Serialization/non-uniform-ops.mlir
M mlir/test/Dialect/SPIRV/non-uniform-ops.mlir
Log Message:
-----------
[mlir][spirv] Add spv.GroupNonUniformElect and spv.GroupNonUniformIAdd
Differential Revision: https://reviews.llvm.org/D73349
Commit: 60d541e1b9dc7217a0744ede6a582c46795091fc
https://github.com/llvm/llvm-project/commit/60d541e1b9dc7217a0744ede6a582c46795091fc
Author: Lei Zhang <antiagainst at google.com>
Date: 2020-01-26 (Sun, 26 Jan 2020)
Changed paths:
M mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
M mlir/test/Dialect/SPIRV/control-flow-ops.mlir
M mlir/test/Dialect/SPIRV/structure-ops.mlir
Log Message:
-----------
[mlir][spirv] Relax verification to allow flexible placement
Thus far certain SPIR-V ops have been required to be in spv.module.
While this provides strong verification to catch unexpected errors,
it's quite rigid and makes progressive lowering difficult. Sometimes
we would like to partially lower ops from other dialects, which may
involve creating ops like global variables that should be placed in
other module-like ops. So this commit relaxes the requirement of
such SPIR-V ops' scope to module-like ops. Similarly for function-
like ops.
Differential Revision: https://reviews.llvm.org/D73415
Compare: https://github.com/llvm/llvm-project/compare/377e86d12ebe...60d541e1b9dc
More information about the All-commits
mailing list