[llvm] r207967 - Trivial simplification. No functionality change.
Rafael Espindola
rafael.espindola at gmail.com
Mon May 5 07:18:17 PDT 2014
Author: rafael
Date: Mon May 5 09:18:16 2014
New Revision: 207967
URL: http://llvm.org/viewvc/llvm-project?rev=207967&view=rev
Log:
Trivial simplification. No functionality change.
Modified:
llvm/trunk/lib/LTO/LTOModule.cpp
Modified: llvm/trunk/lib/LTO/LTOModule.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/LTO/LTOModule.cpp?rev=207967&r1=207966&r2=207967&view=diff
==============================================================================
--- llvm/trunk/lib/LTO/LTOModule.cpp (original)
+++ llvm/trunk/lib/LTO/LTOModule.cpp Mon May 5 09:18:16 2014
@@ -396,7 +396,7 @@ void LTOModule::addDefinedSymbol(const G
// set alignment part log2() can have rounding errors
uint32_t align = def->getAlignment();
- uint32_t attr = align ? countTrailingZeros(def->getAlignment()) : 0;
+ uint32_t attr = align ? countTrailingZeros(align) : 0;
// set permissions part
if (isFunction) {
More information about the llvm-commits
mailing list