[llvm-branch-commits] [llvm-branch] r201948 - upgrade to 26 tags
Gabor Greif
ggreif at gmail.com
Sat Feb 22 11:52:28 PST 2014
Author: ggreif
Date: Sat Feb 22 13:52:28 2014
New Revision: 201948
URL: http://llvm.org/viewvc/llvm-project?rev=201948&view=rev
Log:
upgrade to 26 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=201948&r1=201947&r2=201948&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:52:28 2014
@@ -88,7 +88,7 @@ const Use *Use::getImpliedUser() const {
Use *Use::initTags(Use * const Start, Use *Stop) {
ptrdiff_t Done = 0;
- while (Done < 20) {
+ while (Done < 26) {
if (Start == Stop--)
return Start;
# define TAG_AT(N, TAG) ((unsigned long)(TAG) << ((N) * 2))
@@ -99,7 +99,9 @@ Use *Use::initTags(Use * const Start, Us
TAG_AT(9, stopTag) | TAG_AT(10, zeroDigitTag) | TAG_AT(11, oneDigitTag) |
TAG_AT(12, zeroDigitTag) | TAG_AT(13, oneDigitTag) | TAG_AT(14, stopTag) |
TAG_AT(15, oneDigitTag) | TAG_AT(16, oneDigitTag) | TAG_AT(17, oneDigitTag) |
- TAG_AT(18, oneDigitTag) | TAG_AT(19, stopTag);
+ TAG_AT(18, oneDigitTag) | TAG_AT(19, stopTag) |
+ TAG_AT(20, zeroDigitTag) | TAG_AT(21, zeroDigitTag) | TAG_AT(22, oneDigitTag) |
+ TAG_AT(23, zeroDigitTag) | TAG_AT(24, oneDigitTag) | TAG_AT(25, stopTag);
# undef TAG_AT
new(Stop) Use(PrevPtrTag((tags >> Done++ * 2) & 0x3));
}
More information about the llvm-branch-commits
mailing list