Fixed bot failure after d20bf5a725

There were some bot failures due unused funtion `rotateSign`
left in code.

http://lab.llvm.org:8011/builders/clang-ppc64le-rhel/builds/3731

error: unused function 'rotateSign' [-Werror,-Wunused-function]
static uint64_t rotateSign(int64_t I)
This commit is contained in:
Alok Kumar Sharma 2020-05-28 15:12:28 +05:30 committed by Sourabh Singh Tomar
parent 8a397b66b2
commit a0d847c6cd
1 changed files with 0 additions and 5 deletions

View File

@ -1519,11 +1519,6 @@ void ModuleBitcodeWriter::writeGenericDINode(const GenericDINode *N,
Record.clear();
}
static uint64_t rotateSign(int64_t I) {
uint64_t U = I;
return I < 0 ? ~(U << 1) : U << 1;
}
void ModuleBitcodeWriter::writeDISubrange(const DISubrange *N,
SmallVectorImpl<uint64_t> &Record,
unsigned Abbrev) {