[llvm] r316515 - Transforms/Utils/Local.h: Don't mark header functions as file local
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 14:29:20 PDT 2017
Author: dblaikie
Date: Tue Oct 24 14:29:20 2017
New Revision: 316515
URL: http://llvm.org/viewvc/llvm-project?rev=316515&view=rev
Log:
Transforms/Utils/Local.h: Don't mark header functions as file local
Modified:
llvm/trunk/include/llvm/Transforms/Utils/Local.h
Modified: llvm/trunk/include/llvm/Transforms/Utils/Local.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/Local.h?rev=316515&r1=316514&r2=316515&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/Local.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/Local.h Tue Oct 24 14:29:20 2017
@@ -208,10 +208,10 @@ unsigned getOrEnforceKnownAlignment(Valu
const DominatorTree *DT = nullptr);
/// Try to infer an alignment for the specified pointer.
-static inline unsigned getKnownAlignment(Value *V, const DataLayout &DL,
- const Instruction *CxtI = nullptr,
- AssumptionCache *AC = nullptr,
- const DominatorTree *DT = nullptr) {
+inline unsigned getKnownAlignment(Value *V, const DataLayout &DL,
+ const Instruction *CxtI = nullptr,
+ AssumptionCache *AC = nullptr,
+ const DominatorTree *DT = nullptr) {
return getOrEnforceKnownAlignment(V, 0, DL, CxtI, AC, DT);
}
More information about the llvm-commits
mailing list