[PATCH] D82956: [Alignment][NFC] Transition and simplify calls to DL::getABITypeAlignment
    Guillaume Chatelet via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jul  1 07:00:16 PDT 2020
    
    
  
gchatelet marked an inline comment as done.
gchatelet added inline comments.
================
Comment at: llvm/lib/Analysis/ValueTracking.cpp:1448
+  case Instruction::Alloca:
+    Known.Zero.setLowBits(Log2(cast<AllocaInst>(I)->getAlign()));
     break;
----------------
`cast<AllocaInst>(I)->getAlign()` always returns a valid alignment
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82956/new/
https://reviews.llvm.org/D82956
    
    
More information about the llvm-commits
mailing list