aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2024-10-09 10:37:05 -0700
committerGitHub <noreply@github.com>2024-10-09 10:37:05 -0700
commit10ada4ae738b9d93174e516ca841e61a8f4fd612 (patch)
treefceb1e1fb8bd3b24eb1ab257cd81db4339d78126 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentee0e17a4d8b42278ded1217e415073e8bce88b2a (diff)
downloadllvm-10ada4ae738b9d93174e516ca841e61a8f4fd612.zip
llvm-10ada4ae738b9d93174e516ca841e61a8f4fd612.tar.gz
llvm-10ada4ae738b9d93174e516ca841e61a8f4fd612.tar.bz2
[SandboxVectorizer] Use sbvec-passes flag to create a pipeline of Region passes after BottomUpVec. (#111223)
The main change is that the main SandboxVectorizer pass no longer has a pipeline of function passes. Now it is a wrapper that creates sandbox IR from functions before calling BottomUpVec. BottomUpVec now builds its own RegionPassManager from the `sbvec-passes` flag, using a PassRegistry.def file. For now, these region passes are not run (BottomUpVec doesn't create Regions yet), and only a null pass for testing exists. This commit also changes the ownership model for sandboxir::PassManager: instead of having a PassRegistry that owns passes, and PassManagers that contain non-owning pointers to the passes, now PassManager owns (via unique pointers) the passes it contains. PassRegistry is now deleted, and the logic to parse and create a pass pipeline is now in PassManager::setPassPipeline.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions