projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0780b6d
)
Undefine R2, R4, R6 after use.
author
Axel Naumann
<Axel.Naumann@cern.ch>
Wed, 2 Jul 2014 14:40:35 +0000
(14:40 +0000)
committer
Axel Naumann
<Axel.Naumann@cern.ch>
Wed, 2 Jul 2014 14:40:35 +0000
(14:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212179
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/MathExtras.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/MathExtras.h
b/include/llvm/Support/MathExtras.h
index 6965faf8df8b96c472c57f4dae6d2dcd7ead23a5..0abba62a2c234850e68c8b8d7541f24f229839e8 100644
(file)
--- a/
include/llvm/Support/MathExtras.h
+++ b/
include/llvm/Support/MathExtras.h
@@
-230,6
+230,9
@@
static const unsigned char BitReverseTable256[256] = {
#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.