[all-commits] [llvm/llvm-project] 829730: [MLIR] Fix build breakage due to 5c5af910fefbea943...
Uday Bondhugula via All-commits
all-commits at lists.llvm.org
Wed Aug 10 17:32:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82973067acb1b92de1e0176b8407c65f152c320a
https://github.com/llvm/llvm-project/commit/82973067acb1b92de1e0176b8407c65f152c320a
Author: Uday Bondhugula <uday at polymagelabs.com>
Date: 2022-08-11 (Thu, 11 Aug 2022)
Changed paths:
M mlir/lib/Conversion/LLVMCommon/MemRefBuilder.cpp
M mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp
Log Message:
-----------
[MLIR] Fix build breakage due to 5c5af910fefbea943a11452b63e2424e5f823470
Fix build breakage due to 5c5af910fefbea943a11452b63e2424e5f823470.
```commit 5c5af910fefbea943a11452b63e2424e5f823470
Author: Jeff Niu <jeff at modular.com>
Date: Tue Aug 9 22:07:35 2022 -0400
[mlir][LLVMIR] "Modernize" Insert/ExtractValueOp ```
results in
```lib/Conversion/LLVMCommon/MemRefBuilder.cpp:170:70: error: call of overloaded ‘makeArrayRef<int64_t>(<brace-enclosed initializer list>)’ is ambiguous
llvm::makeArrayRef<int64_t>({kStridePosInMemRefDescriptor,
pos}));
llvm/include/llvm/ADT/ArrayRef.h:505:15: note: candidate: ‘llvm::ArrayRef<T> llvm::makeArrayRef(const std::vector<T>&) [with T = long int]’
ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) {
^~~~~~~~~~~~
llvm/include/llvm/ADT/ArrayRef.h:516:37: note: candidate: ‘llvm::ArrayRef<T> llvm::makeArrayRef(const llvm::ArrayRef<T>&) [with T = long int]’
template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) {
^
Differential Revision: https://reviews.llvm.org/D131637
More information about the All-commits
mailing list