diff options
author | River Riddle <riddleriver@gmail.com> | 2023-07-25 16:06:02 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2023-07-25 16:06:33 -0700 |
commit | 0e6000f647682c6a32eaa5e746ec7b75e8c82306 (patch) | |
tree | 079c4268a19b5f0be7082c5eab3235a1f44af08d /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 16d79d26b3b6b7ab4b024f478f05569e0a033c76 (diff) | |
download | llvm-0e6000f647682c6a32eaa5e746ec7b75e8c82306.zip llvm-0e6000f647682c6a32eaa5e746ec7b75e8c82306.tar.gz llvm-0e6000f647682c6a32eaa5e746ec7b75e8c82306.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions