[llvm] r258082 - Delete dead code.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 13:01:50 PST 2016


Author: rafael
Date: Mon Jan 18 15:01:50 2016
New Revision: 258082

URL: http://llvm.org/viewvc/llvm-project?rev=258082&view=rev
Log:
Delete dead code.

Modified:
    llvm/trunk/include/llvm/Support/MathExtras.h

Modified: llvm/trunk/include/llvm/Support/MathExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MathExtras.h?rev=258082&r1=258081&r2=258082&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MathExtras.h (original)
+++ llvm/trunk/include/llvm/Support/MathExtras.h Mon Jan 18 15:01:50 2016
@@ -621,11 +621,6 @@ inline uint64_t alignTo(uint64_t Value,
   return (Value + Align - 1 - Skew) / Align * Align + Skew;
 }
 
-inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align,
-                                   uint64_t Skew = 0) {
-  return alignTo(Value, Align, Skew);
-}
-
 /// Returns the offset to the next integer (mod 2**64) that is greater than
 /// or equal to \p Value and is a multiple of \p Align. \p Align must be
 /// non-zero.




More information about the llvm-commits mailing list