[all-commits] [llvm/llvm-project] 992661: [mlir] Make TypedValue::getType() const (#76568)

Andrei Golubev via All-commits all-commits at lists.llvm.org
Mon Jan 1 12:43:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 992661922a39e16d068f7aac940da4919bde9b92
      https://github.com/llvm/llvm-project/commit/992661922a39e16d068f7aac940da4919bde9b92
  Author: Andrei Golubev <andrey.golubev at intel.com>
  Date:   2024-01-01 (Mon, 01 Jan 2024)

  Changed paths:
    M mlir/include/mlir/IR/Value.h

  Log Message:
  -----------
  [mlir] Make TypedValue::getType() const (#76568)

The TypedValue::getType() essentially forwards the return value of
Value::getType() which is a const method. Somehow, at TypedValue level
the method's constness is lost, so restore it.

Originally done by: Nikita Kudriavtsev <nikita.kudriavtsev at intel.com>




More information about the All-commits mailing list