mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-10 02:38:50 +00:00
Add extra declarations of hash_value needed to build llvm with xlc 12.1.
Patch by Kai! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
462d1ca428
commit
3a9b71434c
@ -456,6 +456,10 @@ namespace llvm {
|
|||||||
/* The sign bit of this number. */
|
/* The sign bit of this number. */
|
||||||
unsigned int sign: 1;
|
unsigned int sign: 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// See friend declaration above. This additional declaration is required in
|
||||||
|
// order to compile LLVM with IBM xlC compiler.
|
||||||
|
hash_code hash_value(const APFloat &Arg);
|
||||||
} /* namespace llvm */
|
} /* namespace llvm */
|
||||||
|
|
||||||
#endif /* LLVM_FLOAT_H */
|
#endif /* LLVM_FLOAT_H */
|
||||||
|
@ -1780,6 +1780,9 @@ inline APInt Not(const APInt& APIVal) {
|
|||||||
|
|
||||||
} // End of APIntOps namespace
|
} // End of APIntOps namespace
|
||||||
|
|
||||||
|
// See friend declaration above. This additional declaration is required in
|
||||||
|
// order to compile LLVM with IBM xlC compiler.
|
||||||
|
hash_code hash_value(const APInt &Arg);
|
||||||
} // End of llvm namespace
|
} // End of llvm namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -687,6 +687,9 @@ inline raw_ostream &operator<<(raw_ostream &OS, const MachineOperand& MO) {
|
|||||||
return OS;
|
return OS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// See friend declaration above. This additional declaration is required in
|
||||||
|
// order to compile LLVM with IBM xlC compiler.
|
||||||
|
hash_code hash_value(const MachineOperand &MO);
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user