[llvm-commits] [llvm] r61239 - in /llvm/trunk: docs/LangRef.html include/llvm/Attributes.h lib/Analysis/BasicAliasAnalysis.cpp test/Analysis/BasicAA/nocapture.ll

Eric Christopher echristo at apple.com
Mon Dec 22 13:09:53 PST 2008


I'm seeing failures on darwin due to this:

  /// getParamAlignment - Return the alignment for the specified  
function
   /// parameter.
   unsigned getParamAlignment(unsigned Idx) const {
     Attributes Align = getAttributes(Idx) & Attribute::Alignment;
     if (Align == 0)
       return 0;

     return 1ull << ((Align >> 16) - 1);
   }

there's a warning (local to darwin -Wshorten64-to-32) here that we're  
truncating the return value from 64 to 32.

:)

-eric



More information about the llvm-commits mailing list