[all-commits] [llvm/llvm-project] de7ff8: [mlir][NFC] Remove TypeRange's constructors that c...

long.chen via All-commits all-commits at lists.llvm.org
Mon Jul 25 14:38:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de7ff8d66f61c3e2a5c8e3b199c50f9c2b61dcce
      https://github.com/llvm/llvm-project/commit/de7ff8d66f61c3e2a5c8e3b199c50f9c2b61dcce
  Author: lipracer <lipracer at gmail.com>
  Date:   2022-07-25 (Mon, 25 Jul 2022)

  Changed paths:
    M mlir/include/mlir/IR/TypeRange.h
    M mlir/lib/IR/TypeRange.cpp

  Log Message:
  -----------
  [mlir][NFC] Remove TypeRange's constructors that cause ambiguity

ArrayRef<Value> can implicit convert to ValueRange´╝îwhen we call TypeRange(SmallVector<Value>) is ambiguity.
TypeRange(ValueRange values)
TypeRange(ArrayRef<Value> values)

Reviewed By: rriddle, Mogball

Differential Revision: https://reviews.llvm.org/D129475




More information about the All-commits mailing list