[llvm] [CodeGen] Port AtomicExpand to new Pass Manager (PR #71220)
Rishabh Bali via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 08:03:59 PST 2024
================
@@ -380,7 +380,7 @@ void NVPTXPassConfig::addIRPasses() {
addStraightLineScalarOptimizationPasses();
}
- addPass(createAtomicExpandPass());
----------------
Ris-Bali wrote:
What I understand is I need to add this to the TargetPassconfig::addIRPasses() function which is called by every target. Could you please confirm if this is ryt ? There doesn't seem to be a default pipeline for codegen passes in the new PM. Please do correct me if I am wrong.
https://github.com/llvm/llvm-project/pull/71220
More information about the llvm-commits
mailing list