[all-commits] [llvm/llvm-project] 6ee1ab: [mlir][bytecode] Fix lazy loading of non-isolated ...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Jun 26 16:34:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ee1aba8acc1255a6eb9e34788a2376c6357458b
      https://github.com/llvm/llvm-project/commit/6ee1aba8acc1255a6eb9e34788a2376c6357458b
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    M mlir/test/Bytecode/bytecode-lazy-loading.mlir

  Log Message:
  -----------
  [mlir][bytecode] Fix lazy loading of non-isolated regions

The bytecode reader currently assumes all regions can be lazy
loaded, which breaks reading any non-isolated region. This patch
fixes that by properly handling nested non-lazy regions, and only
considers isolated regions as lazy.

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




More information about the All-commits mailing list