[llvm-branch-commits] [llvm-branch] r201950 - expand to 32 tags
Gabor Greif
ggreif at gmail.com
Sat Feb 22 11:58:41 PST 2014
Author: ggreif
Date: Sat Feb 22 13:58:41 2014
New Revision: 201950
URL: http://llvm.org/viewvc/llvm-project?rev=201950&view=rev
Log:
expand to 32 tags
Modified:
llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp
Modified: llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp?rev=201950&r1=201949&r2=201950&view=diff
==============================================================================
--- llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp (original)
+++ llvm/branches/ggreif/waymark-64-new/lib/IR/Use.cpp Sat Feb 22 13:58:41 2014
@@ -88,7 +88,7 @@ const Use *Use::getImpliedUser() const {
Use *Use::initTags(Use * const Start, Use *Stop) {
ptrdiff_t Done = 0;
- while (Done < 26) {
+ while (Done < 32) {
if (Start == Stop--)
return Start;
# define TAG_AT(N, TAG) ((unsigned long)(TAG ## Tag) << ((N) * 2))
@@ -101,7 +101,9 @@ Use *Use::initTags(Use * const Start, Us
TAG_AT(15, oneDigit) | TAG_AT(16, oneDigit) | TAG_AT(17, oneDigit) |
TAG_AT(18, oneDigit) | TAG_AT(19, stop) |
TAG_AT(20, zeroDigit) | TAG_AT(21, zeroDigit) | TAG_AT(22, oneDigit) |
- TAG_AT(23, zeroDigit) | TAG_AT(24, oneDigit) | TAG_AT(25, stop);
+ TAG_AT(23, zeroDigit) | TAG_AT(24, oneDigit) | TAG_AT(25, stop) |
+ TAG_AT(26, zeroDigit) | TAG_AT(27, oneDigit) | TAG_AT(28, zeroDigit) |
+ TAG_AT(29, oneDigit) | TAG_AT(30, oneDigit) | TAG_AT(31, stop);
# undef TAG_AT
new(Stop) Use(PrevPtrTag((tags >> Done++ * 2) & 0x3));
}
More information about the llvm-branch-commits
mailing list