This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] simplification of sparse runtime support lib
ClosedPublic

Authored by aartbik on Aug 31 2023, 6:58 PM.

Details

Summary

Incorporated two header files directly into other since
other parts were used (and it makes it hard to find the
definitions). Removed TODOs that are less likely to be done.

Diff Detail

Event Timeline

aartbik created this revision.Aug 31 2023, 6:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 31 2023, 6:58 PM
aartbik requested review of this revision.Aug 31 2023, 6:58 PM
Peiming accepted this revision.Aug 31 2023, 9:30 PM
This revision is now accepted and ready to land.Aug 31 2023, 9:30 PM
mehdi_amini added inline comments.Sep 1 2023, 11:54 AM
mlir/include/mlir/ExecutionEngine/SparseTensor/ArithmeticUtils.h
128

The bot is unhappy here:

/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/include/mlir/ExecutionEngine/SparseTensor/ArithmeticUtils.h:128:18: error: missing binary operator before token "("
     __has_builtin(__builtin_mul_overflow)
                  ^
mlir/lib/ExecutionEngine/SparseTensor/CMakeLists.txt