[llvm] r212179 - Undefine R2, R4, R6 after use.

Axel Naumann Axel.Naumann at cern.ch
Wed Jul 2 07:40:35 PDT 2014


Author: axel
Date: Wed Jul  2 09:40:35 2014
New Revision: 212179

URL: http://llvm.org/viewvc/llvm-project?rev=212179&view=rev
Log:
Undefine R2, R4, R6 after use.

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=212179&r1=212178&r2=212179&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MathExtras.h (original)
+++ llvm/trunk/include/llvm/Support/MathExtras.h Wed Jul  2 09:40:35 2014
@@ -230,6 +230,9 @@ static const unsigned char BitReverseTab
 #define R4(n) R2(n), R2(n + 2 * 16), R2(n + 1 * 16), R2(n + 3 * 16)
 #define R6(n) R4(n), R4(n + 2 * 4), R4(n + 1 * 4), R4(n + 3 * 4)
   R6(0), R6(2), R6(1), R6(3)
+#undef R2
+#undef R4
+#undef R6
 };
 
 /// \brief Reverse the bits in \p Val.





More information about the llvm-commits mailing list