[all-commits] [llvm/llvm-project] 0e6000: [mlir:bytecode] Only visit the all regions path if...
River Riddle via All-commits
all-commits at lists.llvm.org
Tue Jul 25 16:07:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e6000f647682c6a32eaa5e746ec7b75e8c82306
https://github.com/llvm/llvm-project/commit/0e6000f647682c6a32eaa5e746ec7b75e8c82306
Author: River Riddle <riddleriver at gmail.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M mlir/lib/Bytecode/Writer/IRNumbering.cpp
Log Message:
-----------
[mlir:bytecode] Only visit the all regions path if the op has regions
Zero region operations return true for both isBeforeAllRegions and
isAfterAllRegions when using WalkStage. The bytecode walk only
expects region holding operations in the after regions path, so
guard against that.
More information about the All-commits
mailing list