extractBits assumes that !this->isSingleWord() implies !Result.isSingleWord(), which may not necessarily be true. Handle both cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I don't know the code well enough here to just say yes or no, I'd be fine with you doing post commit review here since this is reasonably well tested and nothing else has broken.
llvm/trunk/lib/Support/APInt.cpp | ||
---|---|---|
436 | Alternatively this could be getRawData()[word] =.... but I don't care much. |
llvm/trunk/lib/Support/APInt.cpp | ||
---|---|---|
436 | Unfortunately getRawData() returns a const pointer. :P |
Alternatively this could be