forked from OSchip/llvm-project
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:
parent
8a397b66b2
commit
a0d847c6cd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue