aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorbixia1 <bixia@google.com>2023-03-09 09:38:09 -0800
committerbixia1 <bixia@google.com>2023-03-14 15:14:49 -0700
commit2ef416273f85ed355f4cbaa996fd8d9c229dbfab (patch)
tree538f571877f733ff24a07a4aca30b9518b8e215d /llvm/lib/Support/CommandLine.cpp
parentc1125ae5b05f5e23c7e61e85afb359e095444d18 (diff)
downloadllvm-2ef416273f85ed355f4cbaa996fd8d9c229dbfab.zip
llvm-2ef416273f85ed355f4cbaa996fd8d9c229dbfab.tar.gz
llvm-2ef416273f85ed355f4cbaa996fd8d9c229dbfab.tar.bz2
[mlir][sparse] Improve sort operation by generating inlined code to compare values.
Previously, we generate function calls to compare values for sorting. It turns out that the compiler doesn't inline those function calls. We now directly generate inlined code. Also, modify the code for comparing values to use less number of branches. This improves all sort implementation in general. For arabic-2005.mtx CSR, the improvement is around 25%. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D145442
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions