[all-commits] [llvm/llvm-project] 8bcf97: [mlir][spirv] Add `const` qualifier for static arrays
Lei Zhang via All-commits
all-commits at lists.llvm.org
Fri Jan 17 08:45:59 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8bcf976841f563514d4174f494cd682da50279f2
https://github.com/llvm/llvm-project/commit/8bcf976841f563514d4174f494cd682da50279f2
Author: Lei Zhang <antiagainst at google.com>
Date: 2020-01-17 (Fri, 17 Jan 2020)
Changed paths:
M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
Log Message:
-----------
[mlir][spirv] Add `const` qualifier for static arrays
This makes the local variable `implies` to have the correct
type to satisfy ArrayRef's constructor:
/*implicit*/ constexpr ArrayRef(const T (&Arr)[N])
Hopefully this should please GCC 5.
Differential Revision: https://reviews.llvm.org/D72924
More information about the All-commits
mailing list