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. |
||
---|---|---|
.. | ||
AdjustCallingConventions.cpp | ||
CMakeLists.txt | ||
DecomposeComplexOps.cpp | ||
DropShapeCalculations.cpp | ||
GlobalizeObjectGraph.cpp | ||
InlineGlobalSlots.cpp | ||
MaximizeValueSemantics.cpp | ||
PassDetail.h | ||
Passes.cpp | ||
PrepareForGlobalizeObjectGraph.cpp | ||
ReduceOpVariants.cpp | ||
RefinePublicReturn.cpp | ||
RefineTypes.cpp | ||
ReifyShapeCalculations.cpp | ||
ShapeLibrary.cpp | ||
SimplifyShapeCalculations.cpp |