mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-18 10:24:45 +00:00
Modernize old-style static asserts. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219588 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2737,7 +2737,7 @@ SDValue SelectionDAG::getNode(unsigned Opcode, SDLoc DL,
|
||||
case ISD::FP_TO_UINT: {
|
||||
integerPart x[2];
|
||||
bool ignored;
|
||||
assert(integerPartWidth >= 64);
|
||||
static_assert(integerPartWidth >= 64, "APFloat parts too small!");
|
||||
// FIXME need to be more flexible about rounding mode.
|
||||
APFloat::opStatus s = V.convertToInteger(x, VT.getSizeInBits(),
|
||||
Opcode==ISD::FP_TO_SINT,
|
||||
|
Reference in New Issue
Block a user