[PATCH] D67489: [ARM] Add a SelectTAddrModeImm7 for MVE narrow loads and stores
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 03:53:20 PDT 2019
dmgreen created this revision.
dmgreen added reviewers: t.p.northover, samparker, SjoerdMeijer, simon_tatham, ostannard.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.
We were previously using the SelectT2AddrModeImm7 for both normal and narrowing MVE loads/stores. As the narrowing ones do not accept sp as a register, it makes little sense to optimise a FrameIndex into the load, only to have to recover that later on. This adds a SelectTAddrModeImm7 which does not do that folding and uses it for narrowing load/store patterns.
https://reviews.llvm.org/D67489
Files:
llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
llvm/lib/Target/ARM/ARMInstrMVE.td
llvm/test/CodeGen/Thumb2/mve-stack.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67489.219878.patch
Type: text/x-patch
Size: 7247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190912/49c00625/attachment.bin>
More information about the llvm-commits
mailing list