[PATCH] D158529: [InferAlignment] Implement InferAlignmentPass

Danila Malyutin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 29 06:43:18 PDT 2023


danilaml added inline comments.


================
Comment at: llvm/lib/Passes/PassBuilderPipelines.cpp:1150
+  if (EnableInferAlignmentPass)
+    FPM.addPass(InferAlignmentPass());
   if (IsFullLTO) {
----------------
I was wondering why the pass was added after LoopeVectorize pass and not before? Wouldn't LV benefit from knowing that some pointers are better aligned? Or it doesn't care about this at the moment?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158529



More information about the llvm-commits mailing list