[mlir][sparse] Renaming `CreationPolicy` to `Policy`
authorwren romano <2998727+wrengr@users.noreply.github.com>
Tue, 18 Jul 2023 01:02:04 +0000 (18:02 -0700)
committerwren romano <2998727+wrengr@users.noreply.github.com>
Wed, 19 Jul 2023 19:13:02 +0000 (12:13 -0700)
commitad7a6b672c7c30fbdb8b8fe2de78eca0d4741c8d
tree94626906fe15ceb9a9088188ca268337d3432a05
parent60647e6a298b7b7bb1c75183a3fb4726567eafe5
[mlir][sparse] Renaming `CreationPolicy` to `Policy`

This change is mostly for brevity's sake; but it also paves the way for the `Policy` enum to be reuseable for other situations that require the same three-way semantics.

Reviewed By: Peiming

Differential Revision: https://reviews.llvm.org/D155532
mlir/lib/Dialect/SparseTensor/IR/Detail/DimLvlMapParser.cpp
mlir/lib/Dialect/SparseTensor/IR/Detail/DimLvlMapParser.h
mlir/lib/Dialect/SparseTensor/IR/Detail/Var.cpp
mlir/lib/Dialect/SparseTensor/IR/Detail/Var.h