@@ -751,9 +751,9 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
751
751
// Expand all extending loads to types larger than this, and truncating
752
752
// stores from types larger than this.
753
753
for (MVT OtherVT : MVT::integer_scalable_vector_valuetypes()) {
754
- setTruncStoreAction(OtherVT, VT , Expand);
755
- setLoadExtAction({ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD}, OtherVT ,
756
- VT , Expand);
754
+ setTruncStoreAction(VT, OtherVT , Expand);
755
+ setLoadExtAction({ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD}, VT ,
756
+ OtherVT , Expand);
757
757
}
758
758
759
759
setOperationAction({ISD::VP_FP_TO_SINT, ISD::VP_FP_TO_UINT,
@@ -843,8 +843,8 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
843
843
844
844
for (MVT OtherVT : MVT::integer_scalable_vector_valuetypes()) {
845
845
setTruncStoreAction(VT, OtherVT, Expand);
846
- setLoadExtAction({ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD}, OtherVT ,
847
- VT , Expand);
846
+ setLoadExtAction({ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD}, VT ,
847
+ OtherVT , Expand);
848
848
}
849
849
850
850
setOperationAction(ISD::VECTOR_DEINTERLEAVE, VT, Custom);
@@ -1074,8 +1074,8 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
1074
1074
setOperationAction(Op, VT, Expand);
1075
1075
for (MVT OtherVT : MVT::integer_fixedlen_vector_valuetypes()) {
1076
1076
setTruncStoreAction(VT, OtherVT, Expand);
1077
- setLoadExtAction({ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD},
1078
- OtherVT, VT, Expand);
1077
+ setLoadExtAction({ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD}, VT,
1078
+ OtherVT, Expand);
1079
1079
}
1080
1080
1081
1081
// Custom lower fixed vector undefs to scalable vector undefs to avoid
0 commit comments