projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf2686
)
Make expansion of uint->fp cast assert out instead of infinitely recurse.
author
Chris Lattner
<sabre@nondot.org>
Wed, 13 Apr 2005 03:42:14 +0000
(
03:42
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 13 Apr 2005 03:42:14 +0000
(
03:42
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21275
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 01c88e1a57423b1e3e7fa9ce881dbd52c2491b39..1dceccaeccf5196ea9a4f73eea23d191f36e43e8 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-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(
fals
e, DestTy, Source);
+ SDOperand SignedConv = ExpandIntToFP(
tru
e, DestTy, Source);
assert(0 && "Unsigned casts not supported yet!");
}