[PATCH] D118611: [PassBuilder] Add OpenMPOpt to default LTO pipeline
Shilei Tian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 31 19:02:36 PST 2022
tianshilei1992 added inline comments.
================
Comment at: llvm/lib/Passes/PassBuilderPipelines.cpp:1458
+ // Try to run OpenMP optimizations, quick no-op if no OpenMP metadata present.
+ MPM.addPass(OpenMPOptPass());
+
----------------
Per my investigation, we also want SROA before OpenMPOpt; otherwise some optimizations will be off, even those in OpenMPOpt.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118611/new/
https://reviews.llvm.org/D118611
More information about the llvm-commits
mailing list