[PATCH] D69253: [Alignment][NFC] Finish transition for `Loads`

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 06:08:38 PDT 2019


courbet added inline comments.


================
Comment at: llvm/lib/Analysis/Loads.cpp:210
+    Alignment = DL.getABITypeAlignment(LI->getType());
 
   Instruction *HeaderFirstNonPHI = L->getHeader()->getFirstNonPHI();
----------------
Create an `Align` here ? 

as discussed maybe something like:

'Align DataLayout::getValueOrABITypeAlignment(MaybeAlign)'


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69253





More information about the llvm-commits mailing list