aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authormikeurbach <mikeurbach@gmail.com>2020-10-22 11:39:39 -0600
committermikeurbach <mikeurbach@gmail.com>2020-11-03 16:53:46 -0700
commit2e36e0dad52b07f0e856f939d530d47bbe8a74ac (patch)
tree789d20765e12f1069a1c842b46c27ea24ea348df /llvm/lib/CodeGen/MachineInstr.cpp
parent50c2f2b6f0ccb5bb72896dc14ed8e8c89fa7a0c7 (diff)
downloadllvm-2e36e0dad52b07f0e856f939d530d47bbe8a74ac.zip
llvm-2e36e0dad52b07f0e856f939d530d47bbe8a74ac.tar.gz
llvm-2e36e0dad52b07f0e856f939d530d47bbe8a74ac.tar.bz2
[MLIR] Move eraseArguments and eraseResults to FunctionLike
Previously, they were only defined for `FuncOp`. To support this, `FunctionLike` needs a way to get an updated type from the concrete operation. This adds a new hook for that purpose, called `getTypeWithoutArgsAndResults`. For now, `FunctionLike` continues to assume the type is `FunctionType`, and concrete operations that use another type can hide the `getType`, `setType`, and `getTypeWithoutArgsAndResults` methods. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D90363
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions