[all-commits] [llvm/llvm-project] 76f097: [mlir] Ensure index attrs are always 64-bit APInts

Jeff Niu via All-commits all-commits at lists.llvm.org
Wed Aug 31 15:44:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76f097cf147277e0721d3173684cef0e563a2b71
      https://github.com/llvm/llvm-project/commit/76f097cf147277e0721d3173684cef0e563a2b71
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

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

  Log Message:
  -----------
  [mlir] Ensure index attrs are always 64-bit APInts

This patch ensures that index integer attributes can only be
constructed with APInts whose widths are equal to the index
internal storage bitwidth (64).

Reviewed By: rriddle

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




More information about the All-commits mailing list