mirror of https://github.com/llvm/torch-mlir
9017be9e9e
Prior to this patch, the code in the `torch-simplify-shape-calculations` pass iterated on the uses of an op's result while also modifying the value. This caused the iterator to get invalidated, thus terminating the loop early and producing incorrect IR. This patch makes use of `llvm::make_early_inc_range()` to ensure that the iterator is not invalidated while executing the loop body. |
||
---|---|---|
.. | ||
Conversion | ||
Dialect | ||
RefBackend | ||
python | ||
CMakeLists.txt | ||
lit.cfg.py | ||
lit.site.cfg.py.in |