This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Simplifying code in expInsert
ClosedPublic

Authored by wrengr on Apr 1 2022, 12:52 PM.

Details

Diff Detail

Event Timeline

wrengr created this revision.Apr 1 2022, 12:52 PM
wrengr requested review of this revision.Apr 1 2022, 12:52 PM
aartbik accepted this revision.Apr 1 2022, 3:45 PM
aartbik added inline comments.
mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
339

Note that llvm style is no fan of putting const on locals (I am, but just noting).

This revision is now accepted and ready to land.Apr 1 2022, 3:45 PM
This revision was automatically updated to reflect the committed changes.
wrengr added inline comments.Apr 4 2022, 12:58 PM
mlir/lib/ExecutionEngine/SparseTensorUtils.cpp
339

I'll bear that in mind. (I prefer it since it helps clarify intent and catch bugs, but I'll try not to offend the style guardians :)