[PATCH] D138332: [Passes] Don't add CHR pass for CSIRInstr build in PostLink

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 15:12:19 PST 2022


davidxl added inline comments.


================
Comment at: llvm/lib/Passes/PassBuilderPipelines.cpp:607
+  // Don't add CHR pass for CSIRInstr build in PostLink as the profile
+  // is still the same as the PreLink compilation.
   if (EnableCHR && Level == OptimizationLevel::O3 && PGOOpt &&
----------------
Can you explain this comment more?

Also push the comment closer to the actual line.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138332/new/

https://reviews.llvm.org/D138332



More information about the llvm-commits mailing list