[PATCH] D67443: [Alignment][NFC] use llvm::Align for AsmPrinter::EmitAlignment

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 06:24:15 PDT 2019


courbet accepted this revision.
courbet added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1693
 
-  // Get the alignment in the log2 form.
-  const unsigned AlignLog = getGVAlignmentLog2(GV, DL);
+  const llvm::Align Align = getGVAlignment(GV, DL);
 
----------------
inline ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67443





More information about the llvm-commits mailing list