[all-commits] [llvm/llvm-project] 0af252: Update ElementsAttr::isValidIndex to handle Elemen...

Karim Nosseir via All-commits all-commits at lists.llvm.org
Fri Jan 29 16:56:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0af25275364e27d9766eb0912a5dd9731d62936b
      https://github.com/llvm/llvm-project/commit/0af25275364e27d9766eb0912a5dd9731d62936b
  Author: karimnosseir <karimnosseir at google.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/unittests/IR/AttributeTest.cpp

  Log Message:
  -----------
  Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar will have rank 0.

Update ElementsAttr::isValidIndex to handle ElementsAttr with a scalar. Scalar will have rank 0.

Reviewed By: rriddle

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




More information about the All-commits mailing list