[all-commits] [llvm/llvm-project] 8b7e66: [mlir][AsmFormat] Avoid invalidating the iterator ...
River Riddle via All-commits
all-commits at lists.llvm.org
Tue Apr 7 15:55:04 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8b7e669e68f9a8e2aa133d0f695a250fc3381e3a
https://github.com/llvm/llvm-project/commit/8b7e669e68f9a8e2aa133d0f695a250fc3381e3a
Author: River Riddle <riddleriver at gmail.com>
Date: 2020-04-07 (Tue, 07 Apr 2020)
Changed paths:
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list