mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 12:02:58 +02:00
Make expansion of uint->fp cast assert out instead of infinitely recurse.
llvm-svn: 21275
This commit is contained in:
parent
85c6a7bed0
commit
1a6247ff51
@ -1820,7 +1820,7 @@ ExpandIntToFP(bool isSigned, MVT::ValueType DestTy, SDOperand Source) {
|
||||
} else {
|
||||
// If this is unsigned, and not supported, first perform the conversion to
|
||||
// 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!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user