File tree 2 files changed +28
-29
lines changed
2 files changed +28
-29
lines changed Original file line number Diff line number Diff line change @@ -1085,18 +1085,17 @@ function sem_signal(
1085
1085
attributes = NamedAttribute[]
1086
1086
! isnothing (device_id) && push! (operands, device_id)
1087
1087
! isnothing (core_id) && push! (operands, core_id)
1088
- push! (
1089
- attributes,
1090
- operandsegmentsizes ([
1091
- 1 , 1 , if (device_id == nothing )
1092
- 0
1093
- elseif 1 (core_id == nothing )
1094
- 0
1095
- else
1096
- 1
1097
- end
1098
- ]),
1099
- )
1088
+ push! (attributes, operandsegmentsizes ([
1089
+ 1 ,
1090
+ 1 ,
1091
+ if (device_id == nothing )
1092
+ 0
1093
+ elseif 1 (core_id == nothing )
1094
+ 0
1095
+ else
1096
+ 1
1097
+ end ,
1098
+ ]))
1100
1099
! isnothing (core_type) && push! (attributes, namedattribute (" core_type" , core_type))
1101
1100
1102
1101
return create_operation (
Original file line number Diff line number Diff line change @@ -588,18 +588,18 @@ function dot_scaled(
588
588
]
589
589
! isnothing (lhs_scale) && push! (operands, lhs_scale)
590
590
! isnothing (rhs_scale) && push! (operands, rhs_scale)
591
- push! (
592
- attributes ,
593
- operandsegmentsizes ([
594
- 1 , 1 , 1 , if (lhs_scale == nothing )
595
- 0
596
- elseif 1 (rhs_scale == nothing )
597
- 0
598
- else
599
- 1
600
- end
601
- ]) ,
602
- )
591
+ push! (attributes, operandsegmentsizes ([
592
+ 1 ,
593
+ 1 ,
594
+ 1 ,
595
+ if (lhs_scale == nothing )
596
+ 0
597
+ elseif 1 (rhs_scale == nothing )
598
+ 0
599
+ else
600
+ 1
601
+ end ,
602
+ ]) )
603
603
604
604
return create_operation (
605
605
" tt.dot_scaled" ,
@@ -1081,16 +1081,16 @@ function load(
1081
1081
attributes = NamedAttribute[]
1082
1082
! isnothing (mask) && push! (operands, mask)
1083
1083
! isnothing (other) && push! (operands, other)
1084
- push! (
1085
- attributes ,
1086
- operandsegmentsizes ([ 1 , if (mask == nothing )
1084
+ push! (attributes, operandsegmentsizes ([
1085
+ 1 ,
1086
+ if (mask == nothing )
1087
1087
0
1088
1088
elseif 1 (other == nothing )
1089
1089
0
1090
1090
else
1091
1091
1
1092
- end ]) ,
1093
- )
1092
+ end ,
1093
+ ]) )
1094
1094
! isnothing (result) && push! (op_ty_results, result)
1095
1095
! isnothing (boundaryCheck) &&
1096
1096
push! (attributes, namedattribute (" boundaryCheck" , boundaryCheck))
You can’t perform that action at this time.
0 commit comments