Port the ReconstructShuffle function from AArch64 to ARM
to handle mismatched incoming types in the BUILD_VECTOR
node.
This fixes an outstanding FIXME in the ReconstructShuffle
code.
Paths
| Differential D11720
[ARM] Update ReconstructShuffle to handle mismatched types ClosedPublic Authored by sbaranga on Aug 3 2015, 7:52 AM.
Details Summary Port the ReconstructShuffle function from AArch64 to ARM This fixes an outstanding FIXME in the ReconstructShuffle
Diff Detail Event Timelinesbaranga updated this object. Comment Actions Ideally this would be shared code with AArch64, but I'm not sure how we would do that (or if it's even a good idea). Comment Actions Hi Silviu, This is a good patch, thanks! I have a few comments inline, but it's mostly good. About the test, you seem to cover a number of new cases and only one is being tested. I'd like to see similar functions with undefs on either places, and also wrongly sized vectors not being transformed, to make sure we're not breaking anything. cheers,
Comment Actions Hi Renato, Thanks for the review! FWIW I've tested this with lnt, spec2000, and some other benchmarks, and everything seems to work. Cheers,
Comment Actions Add more regression tests. We now also test vtrn generation. This revision is now accepted and ready to land.Aug 5 2015, 9:33 AM
Revision Contents
Diff 31232 lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vuzp.ll
|
extra curly braces