diff options
author | River Riddle <riddleriver@gmail.com> | 2020-04-07 15:51:42 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-04-07 15:54:56 -0700 |
commit | 8b7e669e68f9a8e2aa133d0f695a250fc3381e3a (patch) | |
tree | f5377ed6701677f5696379c2a66796241cda143e /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | 6011627f5118dd64a0c33694b604c70e766d8c40 (diff) | |
download | llvm-8b7e669e68f9a8e2aa133d0f695a250fc3381e3a.zip llvm-8b7e669e68f9a8e2aa133d0f695a250fc3381e3a.tar.gz llvm-8b7e669e68f9a8e2aa133d0f695a250fc3381e3a.tar.bz2 |
[mlir][AsmFormat] Avoid invalidating the iterator when verifying attributes
Summary: 'it' may get invalidated when recursing into optional groups. This revision refactors the inner loop to avoid the need to compare the iterator after invalidation.
Differential Revision: https://reviews.llvm.org/D77686
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions