The MVETRUNC node truncates two wide vectors to a single vector with narrower elements. This is usually lowered to a series of extract/insert elements, going via GPR registers. This patch changes that to instead use a pair of truncating stores and a stack reload. This cuts down the number of instructions at the expense of some stack space.
Details
Details
Summary
Diff Detail
Diff Detail
Event Timeline
Herald added subscribers: danielkiss, hiraditya, kristof.beyls. · View Herald TranscriptJun 18 2021, 3:04 AM
dmgreen added a parent revision: D91921: [ARM] Introduce MVETRUNC ISel lowering.Jun 18 2021, 3:04 AM
This revision is now accepted and ready to land.Jun 25 2021, 1:44 AM
This revision was landed with ongoing or failed builds.Jun 26 2021, 2:13 PM
Closed by commit rG41d8149ee972: [ARM] Lower MVETRUNC to stack operations (authored by dmgreen). · Explain Why
This revision was automatically updated to reflect the committed changes.
dmgreen mentioned this in rGca78151001d8: [ARM] Introduce MVEEXT ISel lowering.Jul 12 2021, 11:21 PM