Skip to content

Commit d94999f

Browse files
committed
Remove special lowering of .' in *, /, and \ expressions to A[t]_(mul|ldiv|rdiv)_B[t].
1 parent 1a92c8f commit d94999f

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/julia-syntax.scm

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,17 +1525,8 @@
15251525
,(expand-forms (cadr b)))
15261526
`(call ,(aref ops 1) #;Ac_mul_B ,(expand-forms (cadr a))
15271527
,(expand-forms b))))
1528-
((trans? a)
1529-
(if (trans? b)
1530-
`(call ,(aref ops 2) #;At_mul_Bt ,(expand-forms (cadr a))
1531-
,(expand-forms (cadr b)))
1532-
`(call ,(aref ops 3) #;At_mul_B ,(expand-forms (cadr a))
1533-
,(expand-forms b))))
15341528
((ctrans? b)
1535-
`(call ,(aref ops 4) #;A_mul_Bc ,(expand-forms a)
1536-
,(expand-forms (cadr b))))
1537-
((trans? b)
1538-
`(call ,(aref ops 5) #;A_mul_Bt ,(expand-forms a)
1529+
`(call ,(aref ops 2) #;A_mul_Bc ,(expand-forms a)
15391530
,(expand-forms (cadr b))))
15401531
(else
15411532
`(call ,(cadr e) ,(expand-forms a) ,(expand-forms b))))))
@@ -2223,15 +2214,15 @@
22232214
((and (eq? f '*) (length= e 4))
22242215
(expand-transposed-op
22252216
e
2226-
#(Ac_mul_Bc Ac_mul_B At_mul_Bt At_mul_B A_mul_Bc A_mul_Bt)))
2217+
#(Ac_mul_Bc Ac_mul_B A_mul_Bc)))
22272218
((and (eq? f '/) (length= e 4))
22282219
(expand-transposed-op
22292220
e
2230-
#(Ac_rdiv_Bc Ac_rdiv_B At_rdiv_Bt At_rdiv_B A_rdiv_Bc A_rdiv_Bt)))
2221+
#(Ac_rdiv_Bc Ac_rdiv_B A_rdiv_Bc)))
22312222
((and (eq? f '\\) (length= e 4))
22322223
(expand-transposed-op
22332224
e
2234-
#(Ac_ldiv_Bc Ac_ldiv_B At_ldiv_Bt At_ldiv_B A_ldiv_Bc A_ldiv_Bt)))
2225+
#(Ac_ldiv_Bc Ac_ldiv_B A_ldiv_Bc)))
22352226
(else
22362227
(map expand-forms e))))
22372228
(map expand-forms e)))

0 commit comments

Comments
 (0)