[PATCH] D79077: [mlir] Simplify BranchOpInterface by using MutableOperandRange
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 03:11:08 PDT 2020
rriddle created this revision.
rriddle added reviewers: mehdi_amini, jpienaar.
Herald added a reviewer: mravishankar.
Herald added subscribers: llvm-commits, Kayjukh, frgossen, grosul1, bader, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen.
Herald added a reviewer: antiagainst.
Herald added a reviewer: DavidTruby.
Herald added a reviewer: ftynse.
Herald added a project: LLVM.
This range allows for performing many different operations on successor operands, including erasing/adding/setting. This removes the need for the explicit canEraseSuccessorOperand and eraseSuccessorOperand methods.
Depends On D79030 <https://reviews.llvm.org/D79030>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79077
Files:
flang/include/flang/Optimizer/Dialect/FIROps.td
flang/lib/Optimizer/Dialect/FIROps.cpp
mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/include/mlir/IR/OperationSupport.h
mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
mlir/lib/IR/OperationSupport.cpp
mlir/lib/Interfaces/ControlFlowInterfaces.cpp
mlir/lib/Transforms/Utils/RegionUtils.cpp
mlir/test/lib/Dialect/Test/TestDialect.cpp
mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79077.260872.patch
Type: text/x-patch
Size: 22826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/8c4cecbc/attachment.bin>
More information about the llvm-commits
mailing list