Open Quuxplusone opened 7 years ago
Attached community_test.ll
(3977 bytes, application/octet-stream): Test case that include shuffle pattern.
Comment on attachment 17895
Test case that include shuffle pattern.
Couldn't attach the output assembly so I am listing them here:
good sequence (before patch):
@ BB#0: @ %entry
vld1.64 {d16, d17}, [r1]
vld1.64 {d18, d19}, [r0]
vorr q10, q8, q8
vuzp.8 q8, q10
vzip.8 q9, q8
vst1.64 {d18, d19}, [r2]
vst1.64 {d16, d17}, [r2]
bx lr
Bad sequence (with patch):
@ BB#0: @ %entry
vld1.64 {d16, d17}, [r1]
vld1.64 {d1, d2}, [r0]
vorr q9, q8, q8
vuzp.8 q8, q9
vorr d18, d1, d1
vorr d3, d17, d17
vorr d19, d16, d16
vst2.8 {d18, d19}, [r2:64]
vst2.8 {d2, d3}, [r2:64]
bx lr
to recrete the problem:
llc test_case.ll -mtriple=armv7-linux-gnueabi -o out.s
community_test.ll
(3977 bytes, application/octet-stream)