@@ -315,6 +315,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
315
315
setTruncStoreAction (MVT::f32 , MVT::f16 , Expand);
316
316
setTruncStoreAction (MVT::v2f32, MVT::v2bf16, Expand);
317
317
setTruncStoreAction (MVT::v2f32, MVT::v2f16, Expand);
318
+ setTruncStoreAction (MVT::v3f32, MVT::v3bf16, Expand);
318
319
setTruncStoreAction (MVT::v3f32, MVT::v3f16, Expand);
319
320
setTruncStoreAction (MVT::v4f32, MVT::v4bf16, Expand);
320
321
setTruncStoreAction (MVT::v4f32, MVT::v4f16, Expand);
@@ -330,6 +331,7 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
330
331
setTruncStoreAction (MVT::f64 , MVT::f32 , Expand);
331
332
332
333
setTruncStoreAction (MVT::v2f64, MVT::v2f32, Expand);
334
+ setTruncStoreAction (MVT::v2f64, MVT::v2bf16, Expand);
333
335
setTruncStoreAction (MVT::v2f64, MVT::v2f16, Expand);
334
336
335
337
setTruncStoreAction (MVT::v3i32, MVT::v3i8, Expand);
@@ -339,17 +341,21 @@ AMDGPUTargetLowering::AMDGPUTargetLowering(const TargetMachine &TM,
339
341
setTruncStoreAction (MVT::v3i64, MVT::v3i8, Expand);
340
342
setTruncStoreAction (MVT::v3i64, MVT::v3i1, Expand);
341
343
setTruncStoreAction (MVT::v3f64, MVT::v3f32, Expand);
344
+ setTruncStoreAction (MVT::v3f64, MVT::v3bf16, Expand);
342
345
setTruncStoreAction (MVT::v3f64, MVT::v3f16, Expand);
343
346
344
347
setTruncStoreAction (MVT::v4i64, MVT::v4i32, Expand);
345
348
setTruncStoreAction (MVT::v4i64, MVT::v4i16, Expand);
346
349
setTruncStoreAction (MVT::v4f64, MVT::v4f32, Expand);
350
+ setTruncStoreAction (MVT::v4f64, MVT::v4bf16, Expand);
347
351
setTruncStoreAction (MVT::v4f64, MVT::v4f16, Expand);
348
352
349
353
setTruncStoreAction (MVT::v8f64, MVT::v8f32, Expand);
354
+ setTruncStoreAction (MVT::v8f64, MVT::v8bf16, Expand);
350
355
setTruncStoreAction (MVT::v8f64, MVT::v8f16, Expand);
351
356
352
357
setTruncStoreAction (MVT::v16f64, MVT::v16f32, Expand);
358
+ setTruncStoreAction (MVT::v16f64, MVT::v16bf16, Expand);
353
359
setTruncStoreAction (MVT::v16f64, MVT::v16f16, Expand);
354
360
setTruncStoreAction (MVT::v16i64, MVT::v16i16, Expand);
355
361
setTruncStoreAction (MVT::v16i64, MVT::v16i16, Expand);
0 commit comments