File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -726,18 +726,6 @@ static bool selectSupportsSourceMods(const SDNode *N) {
726
726
return N->getValueType (0 ) == MVT::f32 ;
727
727
}
728
728
729
- LLVM_READONLY
730
- static bool buildVectorSupportsSourceMods (const SDNode *N) {
731
- if (N->getValueType (0 ) != MVT::v2f32)
732
- return true ;
733
-
734
- if (N->getOperand (0 )->getOpcode () != ISD::SELECT ||
735
- N->getOperand (1 )->getOpcode () != ISD::SELECT)
736
- return true ;
737
-
738
- return false ;
739
- }
740
-
741
729
// Most FP instructions support source modifiers, but this could be refined
742
730
// slightly.
743
731
LLVM_READONLY
@@ -771,8 +759,6 @@ static bool hasSourceMods(const SDNode *N) {
771
759
return true ;
772
760
}
773
761
}
774
- case ISD::BUILD_VECTOR:
775
- return buildVectorSupportsSourceMods (N);
776
762
case ISD::SELECT:
777
763
return selectSupportsSourceMods (N);
778
764
default :
You can’t perform that action at this time.
0 commit comments