summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJeff Niu <jeff@modular.com>2022-08-29 14:32:14 -0700
committerJeff Niu <jeff@modular.com>2022-08-29 15:34:21 -0700
commit5b569ed2cdfb42fcca90f637fc586d7c36834d43 (patch)
tree48b3218ce36804f4303637be8cc4e2c7f176f780 /clang/lib/CodeGen/CodeGenModule.cpp
parent8936d86469d2bf168988296820a331b1410f7143 (diff)
[mlir] Add `Block::eraseArguments` that erases a subrange
This patch adds a an `eraseArguments` function that erases a subrange of a block's arguments. This can be used inplace of the terrible pattern ``` block->eraseArguments(llvm::to_vector(llvm::seq(...))); ``` Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D132890
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions