[PATCH] D79681: [mlir][Value] Add v.getDefiningOp<OpTy>()
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 27 12:29:49 PDT 2020
rriddle added inline comments.
Herald added a subscriber: jurahul.
================
Comment at: mlir/include/mlir/IR/Value.h:123
+ OpTy getDefiningOp() const {
+ return llvm::dyn_cast_or_null<OpTy>(getDefiningOp());
+ }
----------------
nit: Drop the llvm::
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79681/new/
https://reviews.llvm.org/D79681
More information about the llvm-commits
mailing list