projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
344be5f
)
Prevent crash on long double.
author
Dale Johannesen
<dalej@apple.com>
Tue, 18 Sep 2007 18:36:59 +0000
(18:36 +0000)
committer
Dale Johannesen
<dalej@apple.com>
Tue, 18 Sep 2007 18:36:59 +0000
(18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42103
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 68158be167051005eba4812f1eea5f759ddeff22..771515539a5cd8c164ea5ba364a39c10871e5926 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-3798,6
+3798,10
@@
SDOperand DAGCombiner::visitSTORE(SDNode *N) {
SDOperand Tmp;
switch (CFP->getValueType(0)) {
default: assert(0 && "Unknown FP type");
+ case MVT::f80: // We don't do this for these yet.
+ case MVT::f128:
+ case MVT::ppcf128:
+ break;
case MVT::f32:
if (!AfterLegalize || TLI.isTypeLegal(MVT::i32)) {
Tmp = DAG.getConstant((uint32_t)CFP->getValueAPF().