[Mlir-commits] [mlir] [llvm] [flang] Make MLIR Value more consistent in terms of `const` "correctness" (NFC) (PR #72765)
David Blaikie
llvmlistbot at llvm.org
Mon Nov 20 11:24:34 PST 2023
================
@@ -335,8 +335,9 @@ namespace llvm {
MutableArrayRef(T *begin, T *end) : ArrayRef<T>(begin, end) {}
/// Construct a MutableArrayRef from a SmallVector.
- /*implicit*/ MutableArrayRef(SmallVectorImpl<T> &Vec)
- : ArrayRef<T>(Vec) {}
+ template <typename U>
+ /*implicit*/ MutableArrayRef(const SmallVectorTemplateCommon<T, U> &Vec)
+ : ArrayRef<T>(Vec) {}
----------------
dwblaikie wrote:
Test coverage? (be good if ADT/Support things were generally committed separately with unit test coverage, tehn used in a subsequent/follow-up patch)
https://github.com/llvm/llvm-project/pull/72765
More information about the Mlir-commits
mailing list