[all-commits] [llvm/llvm-project] 1826fa: [mlir][bytecode] Avoid recording null arglocs & re...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu May 25 09:25:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1826fadb0d2bc5b61d6c028d8006b2a7d1249ec0
      https://github.com/llvm/llvm-project/commit/1826fadb0d2bc5b61d6c028d8006b2a7d1249ec0
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M mlir/docs/BytecodeFormat.md
    M mlir/include/mlir/Bytecode/Encoding.h
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    M mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
    M mlir/test/Bytecode/general.mlir
    M mlir/test/Bytecode/invalid/invalid-structure.mlir

  Log Message:
  -----------
  [mlir][bytecode] Avoid recording null arglocs & realloc opnames.

For block arg locs a common case is no/uknown location (where the producer
signifies they don't care about blockarg location). Also avoid needing to
dynamically resize opnames during parsing.

Assumed to be post lazy loading change, so chose version 3.

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




More information about the All-commits mailing list