diff options
author | qazwsxedcrfvtg14 <yich@google.com> | 2025-05-24 08:30:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-23 17:30:48 -0700 |
commit | d5802c30ae6cf296489daf12b36582e9e1d658bb (patch) | |
tree | 703a19931d0d4462f0cbfd322e9b5ddf4e35bbd3 /llvm/lib/MC/MCExpr.cpp | |
parent | e9dbf31be5475a691fca26e56ba8b27337ba31b6 (diff) | |
download | llvm-d5802c30ae6cf296489daf12b36582e9e1d658bb.zip llvm-d5802c30ae6cf296489daf12b36582e9e1d658bb.tar.gz llvm-d5802c30ae6cf296489daf12b36582e9e1d658bb.tar.bz2 |
[mlir] Optimize const values AffineMap::compose (#141005)
The original implementation will create two intermediate AffineMap in
the context, calling this compose function with different values
multiple times will occupy a lot of memory.
To improve the performance, we can call the AffineExpr::replace
directly, so we don't need to store all combinations of values in the
context.
Diffstat (limited to 'llvm/lib/MC/MCExpr.cpp')
0 files changed, 0 insertions, 0 deletions