[all-commits] [llvm/llvm-project] c31ee8: Add Builder::get{I32, I64}TensorAttr.

Sean Silva via All-commits all-commits at lists.llvm.org
Thu Mar 19 11:38:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c31ee83abb0cae95b1a9216826076e442c3582f9
      https://github.com/llvm/llvm-project/commit/c31ee83abb0cae95b1a9216826076e442c3582f9
  Author: Sean Silva <silvasean at google.com>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

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

  Log Message:
  -----------
  Add Builder::get{I32,I64}TensorAttr.

Builder::get{I32,I64}VectorAttr are actually of limited applicability since
vector types can't have zero elements, whereas many uses of this kind of
attribute (such as dimension lists for "transpose"-like and other tensor
ops) often can result in empty lists.

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




More information about the All-commits mailing list