@@ -302,6 +302,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
302
302
setTruncStoreAction (MVT::f32 , MVT::f16 , Expand);
303
303
setTruncStoreAction (MVT::v2f32, MVT::v2bf16, Expand);
304
304
setTruncStoreAction (MVT::v2f32, MVT::v2f16, Expand);
305
+ setTruncStoreAction (MVT::v3f32, MVT::v3bf16, Expand);
305
306
setTruncStoreAction (MVT::v3f32, MVT::v3f16, Expand);
306
307
setTruncStoreAction (MVT::v4f32, MVT::v4bf16, Expand);
307
308
setTruncStoreAction (MVT::v4f32, MVT::v4f16, Expand);
@@ -317,22 +318,27 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
317
318
setTruncStoreAction (MVT::f64 , MVT::f32 , Expand);
318
319
319
320
setTruncStoreAction (MVT::v2f64, MVT::v2f32, Expand);
321
+ setTruncStoreAction (MVT::v2f64, MVT::v2bf16, Expand);
320
322
setTruncStoreAction (MVT::v2f64, MVT::v2f16, Expand);
321
323
322
324
setTruncStoreAction (MVT::v3i64, MVT::v3i32, Expand);
323
325
setTruncStoreAction (MVT::v3i64, MVT::v3i16, Expand);
324
326
setTruncStoreAction (MVT::v3f64, MVT::v3f32, Expand);
327
+ setTruncStoreAction (MVT::v3f64, MVT::v3bf16, Expand);
325
328
setTruncStoreAction (MVT::v3f64, MVT::v3f16, Expand);
326
329
327
330
setTruncStoreAction (MVT::v4i64, MVT::v4i32, Expand);
328
331
setTruncStoreAction (MVT::v4i64, MVT::v4i16, Expand);
329
332
setTruncStoreAction (MVT::v4f64, MVT::v4f32, Expand);
333
+ setTruncStoreAction (MVT::v4f64, MVT::v4bf16, Expand);
330
334
setTruncStoreAction (MVT::v4f64, MVT::v4f16, Expand);
331
335
332
336
setTruncStoreAction (MVT::v8f64, MVT::v8f32, Expand);
337
+ setTruncStoreAction (MVT::v8f64, MVT::v8bf16, Expand);
333
338
setTruncStoreAction (MVT::v8f64, MVT::v8f16, Expand);
334
339
335
340
setTruncStoreAction (MVT::v16f64, MVT::v16f32, Expand);
341
+ setTruncStoreAction (MVT::v16f64, MVT::v16bf16, Expand);
336
342
setTruncStoreAction (MVT::v16f64, MVT::v16f16, Expand);
337
343
setTruncStoreAction (MVT::v16i64, MVT::v16i16, Expand);
338
344
setTruncStoreAction (MVT::v16i64, MVT::v16i16, Expand);
0 commit comments