[mlir][sparse] remove dead code from utils (#68943)

This commit is contained in:
Aart Bik
2023-10-12 17:47:26 -07:00
committed by GitHub
parent fcb4c0555e
commit fbe47bf532
3 changed files with 0 additions and 145 deletions

View File

@@ -241,16 +241,6 @@ public:
return true;
}
/// Gets the dimension-to-level mapping.
//
// TODO: This is only ever used for passing into `genAddEltCall`;
// is there a better way to encapsulate that pattern (both to avoid
// this one-off getter, and to avoid potential mixups)?
Value getDimToLvl() const {
assert(isInitialized() && "Must initialize before getDimToLvl");
return params[kParamDim2Lvl];
}
/// Generates a function call, with the current static parameters
/// and the given dynamic arguments.
Value genNewCall(Action action, Value ptr = Value()) {