This is an archive of the discontinued LLVM Phabricator instance.

[mlir][EDSC] Retire OperationHandle
ClosedPublic

Authored by nicolasvasilache on Apr 22 2020, 9:22 PM.

Details

Summary

OperationHandle mostly existed to mirror the behavior of ValueHandle.
This has become unnecessary and can be retired.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2020, 9:22 PM
ftynse accepted this revision.Apr 23 2020, 1:28 AM

Nice clean-up!

mlir/include/mlir/EDSC/Builders.h
175

Nit (and likely for a separate clean-up): ArrayRef<Value> -> ValueRange

mlir/lib/Dialect/LoopOps/EDSC/Builders.cpp
101

Nit: these aren't handles anymore AFAICS

This revision is now accepted and ready to land.Apr 23 2020, 1:28 AM
This revision was automatically updated to reflect the committed changes.
mlir/include/mlir/EDSC/Builders.h