aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCExpr.cpp
diff options
context:
space:
mode:
authorqazwsxedcrfvtg14 <yich@google.com>2025-05-24 08:30:48 +0800
committerGitHub <noreply@github.com>2025-05-23 17:30:48 -0700
commitd5802c30ae6cf296489daf12b36582e9e1d658bb (patch)
tree703a19931d0d4462f0cbfd322e9b5ddf4e35bbd3 /llvm/lib/MC/MCExpr.cpp
parente9dbf31be5475a691fca26e56ba8b27337ba31b6 (diff)
downloadllvm-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