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:
d5e11ad
)
Fix potential crash if DAGCombine on stores sees a half type
author
Pete Cooper
<peter_cooper@apple.com>
Thu, 21 Jun 2012 18:00:39 +0000
(18:00 +0000)
committer
Pete Cooper
<peter_cooper@apple.com>
Thu, 21 Jun 2012 18:00:39 +0000
(18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158927
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 95dd2e6219b23fcd41cbde6e980f987252237dfe..7babf4ab9534f606a6ed4d39b00de004d1030f95 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-7124,7
+7124,8
@@
SDValue DAGCombiner::visitSTORE(SDNode *N) {
SDValue Tmp;
switch (CFP->getValueType(0).getSimpleVT().SimpleTy) {
default: llvm_unreachable("Unknown FP type");
- case MVT::f80: // We don't do this for these yet.
+ case MVT::f16: // We don't do this for these yet.
+ case MVT::f80:
case MVT::f128:
case MVT::ppcf128:
break;