@@ -50,7 +50,68 @@ entry:
50
50
}
51
51
52
52
define void @multiply_ntt (ptr %A , ptr %B , ptr %C , ptr %R ) {
53
- ; REMARK: Pass: lower-matrix-intrinsics
53
+ ; REMARK-LABEL: Name: unknown-shape-lowering-def
54
+ ; REMARK-NEXT: Function: multiply_ntt
55
+ ; REMARK-NEXT: Args:
56
+ ; REMARK-NEXT: - String: 'splitting a '
57
+ ; REMARK-NEXT: - Rows: '2'
58
+ ; REMARK-NEXT: - String: x
59
+ ; REMARK-NEXT: - Cols: '3'
60
+ ; REMARK-NEXT: - String: ' matrix '
61
+ ; REMARK-NEXT: - String: ' with '
62
+ ; REMARK-NEXT: - Shuffles: '3'
63
+ ; REMARK-NEXT: - String: ' shuffles because we do not have a shape-aware lowering for its def: '
64
+ ; REMARK-NEXT: - Instr: load
65
+ ; REMARK-NEXT: - Opcode: load
66
+ ; REMARK-NEXT: ...
67
+ ; REMARK-NEXT: --- !Missed
68
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
69
+ ; REMARK-LABEL: Name: unknown-shape-lowering-def
70
+ ; REMARK-NEXT: Function: multiply_ntt
71
+ ; REMARK-NEXT: Args:
72
+ ; REMARK-NEXT: - String: 'splitting a '
73
+ ; REMARK-NEXT: - Rows: '4'
74
+ ; REMARK-NEXT: - String: x
75
+ ; REMARK-NEXT: - Cols: '3'
76
+ ; REMARK-NEXT: - String: ' matrix '
77
+ ; REMARK-NEXT: - String: ' with '
78
+ ; REMARK-NEXT: - Shuffles: '3'
79
+ ; REMARK-NEXT: - String: ' shuffles because we do not have a shape-aware lowering for its def: '
80
+ ; REMARK-NEXT: - Instr: call
81
+ ; REMARK-NEXT: - Opcode: call
82
+ ; REMARK-NEXT: ...
83
+ ; REMARK-NEXT: --- !Missed
84
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
85
+ ; REMARK-LABEL: Name: unknown-shape-lowering-use
86
+ ; REMARK-NEXT: Function: multiply_ntt
87
+ ; REMARK-NEXT: Args:
88
+ ; REMARK-NEXT: - String: 'flattening a '
89
+ ; REMARK-NEXT: - Rows: '2'
90
+ ; REMARK-NEXT: - String: x
91
+ ; REMARK-NEXT: - Cols: '3'
92
+ ; REMARK-NEXT: - String: ' matrix '
93
+ ; REMARK-NEXT: - Source: ' %{{.*}} = load <6 x double>, ptr %{{.*}}, align 16'
94
+ ; REMARK-NEXT: - String: ' because we do not have a shape-aware lowering for its user:'
95
+ ; REMARK-NEXT: - Instr: ' %{{.*}} = shufflevector <6 x double> %{{.*}}, <6 x double> poison, <2 x i32> <i32 4, i32 5>'
96
+ ; REMARK-NEXT: - Opcode: shufflevector
97
+ ; REMARK-NEXT: ...
98
+ ; REMARK-NEXT: --- !Missed
99
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
100
+ ; REMARK-LABEL: Name: unknown-shape-lowering-use
101
+ ; REMARK-NEXT: Function: multiply_ntt
102
+ ; REMARK-NEXT: Args:
103
+ ; REMARK-NEXT: - String: 'flattening a '
104
+ ; REMARK-NEXT: - Rows: '4'
105
+ ; REMARK-NEXT: - String: x
106
+ ; REMARK-NEXT: - Cols: '3'
107
+ ; REMARK-NEXT: - String: ' matrix '
108
+ ; REMARK-NEXT: - Source: ' %{{.*}} = call <12 x double> @llvm.matrix.multiply.v12f64.v8f64.v6f64(<8 x double> %{{.*}}, <6 x double> %{{.*}}, i32 4, i32 2, i32 3)'
109
+ ; REMARK-NEXT: - String: ' because we do not have a shape-aware lowering for its user:'
110
+ ; REMARK-NEXT: - Instr: ' %{{.*}} = shufflevector <12 x double> %{{.*}}, <12 x double> poison, <4 x i32> <i32 8, i32 9, i32 10, i32 11>'
111
+ ; REMARK-NEXT: - Opcode: shufflevector
112
+ ; REMARK-NEXT: ...
113
+ ; REMARK-NEXT: --- !Passed
114
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
54
115
; REMARK-NEXT: Name: matrix-lowered
55
116
; REMARK-NEXT: Function: multiply_ntt
56
117
; REMARK-NEXT: Args:
@@ -438,7 +499,68 @@ entry:
438
499
}
439
500
440
501
define void @multiply_nt_t (ptr %A , ptr %B , ptr %C ) {
441
- ; REMARK: Pass: lower-matrix-intrinsics
502
+ ; REMARK-LABEL: Name: unknown-shape-lowering-def
503
+ ; REMARK-NEXT: Function: multiply_nt_t
504
+ ; REMARK-NEXT: Args:
505
+ ; REMARK-NEXT: - String: 'splitting a '
506
+ ; REMARK-NEXT: - Rows: '4'
507
+ ; REMARK-NEXT: - String: x
508
+ ; REMARK-NEXT: - Cols: '3'
509
+ ; REMARK-NEXT: - String: ' matrix '
510
+ ; REMARK-NEXT: - String: ' with '
511
+ ; REMARK-NEXT: - Shuffles: '3'
512
+ ; REMARK-NEXT: - String: ' shuffles because we do not have a shape-aware lowering for its def: '
513
+ ; REMARK-NEXT: - Instr: load
514
+ ; REMARK-NEXT: - Opcode: load
515
+ ; REMARK-NEXT: ...
516
+ ; REMARK-NEXT: --- !Missed
517
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
518
+ ; REMARK-LABEL: Name: unknown-shape-lowering-def
519
+ ; REMARK-NEXT: Function: multiply_nt_t
520
+ ; REMARK-NEXT: Args:
521
+ ; REMARK-NEXT: - String: 'splitting a '
522
+ ; REMARK-NEXT: - Rows: '2'
523
+ ; REMARK-NEXT: - String: x
524
+ ; REMARK-NEXT: - Cols: '3'
525
+ ; REMARK-NEXT: - String: ' matrix '
526
+ ; REMARK-NEXT: - String: ' with '
527
+ ; REMARK-NEXT: - Shuffles: '3'
528
+ ; REMARK-NEXT: - String: ' shuffles because we do not have a shape-aware lowering for its def: '
529
+ ; REMARK-NEXT: - Instr: load
530
+ ; REMARK-NEXT: - Opcode: load
531
+ ; REMARK-NEXT: ...
532
+ ; REMARK-NEXT: --- !Missed
533
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
534
+ ; REMARK-LABEL: Name: unknown-shape-lowering-use
535
+ ; REMARK-NEXT: Function: multiply_nt_t
536
+ ; REMARK-NEXT: Args:
537
+ ; REMARK-NEXT: - String: 'flattening a '
538
+ ; REMARK-NEXT: - Rows: '2'
539
+ ; REMARK-NEXT: - String: x
540
+ ; REMARK-NEXT: - Cols: '3'
541
+ ; REMARK-NEXT: - String: ' matrix '
542
+ ; REMARK-NEXT: - Source: ' %{{.*}} = load <6 x double>, ptr %{{.*}}, align 16'
543
+ ; REMARK-NEXT: - String: ' because we do not have a shape-aware lowering for its user:'
544
+ ; REMARK-NEXT: - Instr: ' %{{.*}} = shufflevector <6 x double> %{{.*}}, <6 x double> poison, <2 x i32> <i32 4, i32 5>'
545
+ ; REMARK-NEXT: - Opcode: shufflevector
546
+ ; REMARK-NEXT: ...
547
+ ; REMARK-NEXT: --- !Missed
548
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
549
+ ; REMARK-LABEL: Name: unknown-shape-lowering-use
550
+ ; REMARK-NEXT: Function: multiply_nt_t
551
+ ; REMARK-NEXT: Args:
552
+ ; REMARK-NEXT: - String: 'flattening a '
553
+ ; REMARK-NEXT: - Rows: '4'
554
+ ; REMARK-NEXT: - String: x
555
+ ; REMARK-NEXT: - Cols: '3'
556
+ ; REMARK-NEXT: - String: ' matrix '
557
+ ; REMARK-NEXT: - Source: ' %{{.*}} = load <12 x double>, ptr %B, align 16'
558
+ ; REMARK-NEXT: - String: ' because we do not have a shape-aware lowering for its user:'
559
+ ; REMARK-NEXT: - Instr: ' %{{.*}} = shufflevector <12 x double> %{{.*}}, <12 x double> poison, <4 x i32> <i32 8, i32 9, i32 10, i32 11>'
560
+ ; REMARK-NEXT: - Opcode: shufflevector
561
+ ; REMARK-NEXT: ...
562
+ ; REMARK-NEXT: --- !Passed
563
+ ; REMARK-NEXT: Pass: lower-matrix-intrinsics
442
564
; REMARK-NEXT: Name: matrix-lowered
443
565
; REMARK-NEXT: Function: multiply_nt_t
444
566
; REMARK-NEXT: Args:
@@ -573,6 +695,61 @@ entry:
573
695
}
574
696
575
697
define void @multiply_ntt_t (ptr %A , ptr %B , ptr %C , ptr %R ) {
698
+ ; REMARK-LABEL: Name: unknown-shape-lowering-def
699
+ ; REMARK-NEXT: Function: multiply_ntt_t
700
+ ; REMARK-NEXT: Args:
701
+ ; REMARK-NEXT: - String: 'splitting a '
702
+ ; REMARK-NEXT: - Rows: '3'
703
+ ; REMARK-NEXT: - String: x
704
+ ; REMARK-NEXT: - Cols: '3'
705
+ ; REMARK-NEXT: - String: ' matrix '
706
+ ; REMARK-NEXT: - String: ' with '
707
+ ; REMARK-NEXT: - Shuffles: '3'
708
+ ; REMARK-NEXT: - String: ' shuffles because we do not have a shape-aware lowering for its def: '
709
+ ; REMARK-NEXT: - Instr: call
710
+ ; REMARK-NEXT: - Opcode: call
711
+ ; REMARK-NEXT: ...
712
+ ; REMARK-LABEL: Name: unknown-shape-lowering-def
713
+ ; REMARK-NEXT: Function: multiply_ntt_t
714
+ ; REMARK-NEXT: Args:
715
+ ; REMARK-NEXT: - String: 'splitting a '
716
+ ; REMARK-NEXT: - Rows: '3'
717
+ ; REMARK-NEXT: - String: x
718
+ ; REMARK-NEXT: - Cols: '3'
719
+ ; REMARK-NEXT: - String: ' matrix '
720
+ ; REMARK-NEXT: - String: ' with '
721
+ ; REMARK-NEXT: - Shuffles: '3'
722
+ ; REMARK-NEXT: - String: ' shuffles because we do not have a shape-aware lowering for its def: '
723
+ ; REMARK-NEXT: - Instr: load
724
+ ; REMARK-NEXT: - Opcode: load
725
+ ; REMARK-NEXT: ...
726
+ ; REMARK-LABEL: Name: unknown-shape-lowering-use
727
+ ; REMARK-NEXT: Function: multiply_ntt_t
728
+ ; REMARK-NEXT: Args:
729
+ ; REMARK-NEXT: - String: 'flattening a '
730
+ ; REMARK-NEXT: - Rows: '3'
731
+ ; REMARK-NEXT: - String: x
732
+ ; REMARK-NEXT: - Cols: '3'
733
+ ; REMARK-NEXT: - String: ' matrix '
734
+ ; REMARK-NEXT: - Source: ' %{{.*}} = load <9 x double>, ptr %A, align 16'
735
+ ; REMARK-NEXT: - String: ' because we do not have a shape-aware lowering for its user:'
736
+ ; REMARK-NEXT: - Instr: ' %{{.*}} = shufflevector <9 x double> %{{.*}}, <9 x double> poison, <3 x i32> <i32 6, i32 7, i32 8>'
737
+ ; REMARK-NEXT: - Opcode: shufflevector
738
+ ; REMARK-NEXT: ...
739
+ ; REMARK-LABEL: Pass: lower-matrix-intrinsics
740
+ ; REMARK-NEXT: Name: unknown-shape-lowering-use
741
+ ; REMARK-NEXT: Function: multiply_ntt_t
742
+ ; REMARK-NEXT: Args:
743
+ ; REMARK-NEXT: - String: 'flattening a '
744
+ ; REMARK-NEXT: - Rows: '3'
745
+ ; REMARK-NEXT: - String: x
746
+ ; REMARK-NEXT: - Cols: '3'
747
+ ; REMARK-NEXT: - String: ' matrix '
748
+ ; REMARK-NEXT: - Source: ' %{{.*}} = call <9 x double> @llvm.matrix.multiply.v9f64.v9f64.v9f64(<9 x double> %{{.*}}, <9 x double> %{{.*}}, i32 3, i32 3, i32 3)'
749
+ ; REMARK-NEXT: - String: ' because we do not have a shape-aware lowering for its user:'
750
+ ; REMARK-NEXT: - Instr: ' %{{.*}} = shufflevector <9 x double> %{{.*}}, <9 x double> poison, <3 x i32> <i32 6, i32 7, i32 8>'
751
+ ; REMARK-NEXT: - Opcode: shufflevector
752
+ ; REMARK-NEXT: ...
576
753
; REMARK: Pass: lower-matrix-intrinsics
577
754
; REMARK-NEXT: Name: matrix-lowered
578
755
; REMARK-NEXT: Function: multiply_ntt_t
0 commit comments