Fixes #59443 https://github.com/llvm/llvm-project/issues/59443
getNumVars will add locals and cause out of bound access.
Paths
| Differential D142851
[mlir] use getNumDimAndSymbolVars when iterate dims/symbols of FlatAffineValueConstraints ClosedPublic Authored by python3kgae on Jan 29 2023, 3:15 PM.
Details Summary Fixes #59443 https://github.com/llvm/llvm-project/issues/59443 getNumVars will add locals and cause out of bound access.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jan 30 2023, 6:07 AM This revision was landed with ongoing or failed builds.Jan 30 2023, 6:16 AM Closed by commit rG7b182d788e7b: [mlir] use getNumDimAndSymbolVars when iterate dims/symbols of… (authored by python3kgae). · Explain Why This revision was automatically updated to reflect the committed changes. python3kgae marked an inline comment as done.
Revision Contents
Diff 493295 mlir/lib/Dialect/Affine/Analysis/Utils.cpp
mlir/test/Dialect/SCF/for-loop-canonicalization.mlir
|