[all-commits] [llvm/llvm-project] e2c97d: [MLIR] Add a bitcast method to DenseElementsAttr

Geoffrey Martin-Noble via All-commits all-commits at lists.llvm.org
Mon Aug 16 17:13:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2c97d4484468a498def2527136edeb5abc332d9
      https://github.com/llvm/llvm-project/commit/e2c97d4484468a498def2527136edeb5abc332d9
  Author: Geoffrey Martin-Noble <gcmn at google.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinAttributes.h
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/lib/IR/BuiltinAttributes.cpp

  Log Message:
  -----------
  [MLIR] Add a bitcast method to DenseElementsAttr

This method bitcasts a DenseElementsAttr elementwise to one of the same
shape with a different element type.

Reviewed By: rriddle

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




More information about the All-commits mailing list