[all-commits] [llvm/llvm-project] fb771f: [mlir] Slightly optimize bytecode op numbering (#8...

Jeff Niu via All-commits all-commits at lists.llvm.org
Wed Apr 10 14:35:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb771fe315654231f613a5501ebd538f036c78b6
      https://github.com/llvm/llvm-project/commit/fb771fe315654231f613a5501ebd538f036c78b6
  Author: Jeff Niu <jeff at modular.com>
  Date:   2024-04-10 (Wed, 10 Apr 2024)

  Changed paths:
    M mlir/lib/Bytecode/Writer/IRNumbering.cpp

  Log Message:
  -----------
  [mlir] Slightly optimize bytecode op numbering (#88310)

If the bytecode encoding supports properties, then the dictionary
attribute is always the raw dictionary attribute of the operation,
regardless of what it contains. Otherwise, get the dictionary attribute
from the op: if the op does not have properties, then it returns the raw
dictionary, otherwise it returns the combined inherent and discardable
attributes.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list