aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-03-08 10:06:24 +0900
committerGitHub <noreply@github.com>2024-03-08 10:06:24 +0900
commitddaf040ea924b1bdd4e093f583018c262da3cc7f (patch)
tree4ca74d675cfdbf213c233e295d5cab82bc594bf6 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentfb582b6ace781ff6991775d6dcd4df98aa16698f (diff)
downloadllvm-ddaf040ea924b1bdd4e093f583018c262da3cc7f.zip
llvm-ddaf040ea924b1bdd4e093f583018c262da3cc7f.tar.gz
llvm-ddaf040ea924b1bdd4e093f583018c262da3cc7f.tar.bz2
[mlir][Transforms][NFC] Make signature conversion more efficient (#83922)
During block signature conversion, a new block is inserted and ops are moved from the old block to the new block. This commit changes the implementation such that ops are moved in bulk (`splice`) instead of one-by-one; that's what `splitBlock` is doing. This also makes it possible to pass the new block argument types directly to `createBlock` instead of using `addArgument` (which bypasses the rewriter). This doesn't change anything from a technical point of view (there is no rewriter API for adding arguments at the moment), but the implementation reads a bit nicer.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions