mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Make expansion of uint->fp cast assert out instead of infinitely recurse.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5bf2686a1b
commit
ffe284c651
@ -1820,7 +1820,7 @@ ExpandIntToFP(bool isSigned, MVT::ValueType DestTy, SDOperand Source) {
|
|||||||
} else {
|
} else {
|
||||||
// If this is unsigned, and not supported, first perform the conversion to
|
// If this is unsigned, and not supported, first perform the conversion to
|
||||||
// signed, then adjust the result if the sign bit is set.
|
// signed, then adjust the result if the sign bit is set.
|
||||||
SDOperand SignedConv = ExpandIntToFP(false, DestTy, Source);
|
SDOperand SignedConv = ExpandIntToFP(true, DestTy, Source);
|
||||||
|
|
||||||
assert(0 && "Unsigned casts not supported yet!");
|
assert(0 && "Unsigned casts not supported yet!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user