forked from OSchip/llvm-project
Fix potential crash if DAGCombine on stores sees a half type
llvm-svn: 158927
This commit is contained in:
parent
f60e437168
commit
5b61422d80
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue