mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
cleanup(compiler): remove no longer needed function getAliasedUses.
This commit is contained in:
@@ -199,14 +199,6 @@ getTaskArgumentSizeAndType(Value val, Location loc, OpBuilder builder) {
|
||||
return std::pair<mlir::Value, mlir::Value>(result, arg_type);
|
||||
}
|
||||
|
||||
static void getAliasedUses(Value val, DenseSet<OpOperand *> &aliasedUses) {
|
||||
for (auto &use : val.getUses()) {
|
||||
aliasedUses.insert(&use);
|
||||
if (isa<memref::CastOp, memref::ViewOp, memref::SubViewOp>(use.getOwner()))
|
||||
getAliasedUses(use.getOwner()->getResult(0), aliasedUses);
|
||||
}
|
||||
}
|
||||
|
||||
static void lowerDataflowTaskOp(RT::DataflowTaskOp DFTOp,
|
||||
func::FuncOp workFunction) {
|
||||
DataLayout dataLayout = DataLayout::closest(DFTOp);
|
||||
|
||||
Reference in New Issue
Block a user