[PATCH] D67620: [Alignment][NFC] Remove LogAlignment functions

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 08:39:48 PDT 2019


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


================
Comment at: llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp:117
   for (const MachineBasicBlock &MBB : MF) {
-    if (MBB.getLogAlignment()) {
+    if (MBB.getAlignment() > 1) {
       // Although we don't know the exact layout of the final code, we need
----------------
use `None` ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67620





More information about the llvm-commits mailing list