aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorwren romano <2998727+wrengr@users.noreply.github.com>2022-07-01 12:41:01 -0700
committerwren romano <2998727+wrengr@users.noreply.github.com>2022-07-01 12:55:09 -0700
commit875ee0ed1c5af58cb4909f239093e25a35d7a21a (patch)
tree2890d3825b9796538089460cddb402f5661b9191 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentb19cbda45a01807db0cd39ada302e27ac8e5ccb5 (diff)
downloadllvm-875ee0ed1c5af58cb4909f239093e25a35d7a21a.zip
llvm-875ee0ed1c5af58cb4909f239093e25a35d7a21a.tar.gz
llvm-875ee0ed1c5af58cb4909f239093e25a35d7a21a.tar.bz2
[mlir][sparse] Reducing computational complexity
This is a followup to D128847. The `AffineMap::getPermutedPosition` method performs a linear scan of the map, thus the previous implementation had asymptotic complexity of `O(|topSort| * |m|)`. This change reduces that to `O(|topSort| + |m|)`. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D129011
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions