mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
Fix potential crash if DAGCombine on stores sees a half type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5e11ad51a
commit
438c04027b
@ -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
Block a user