]> granicus.if.org Git - llvm/commit
[ARM] Fix for MVE VREV64
authorDavid Green <david.green@arm.com>
Thu, 1 Aug 2019 11:22:03 +0000 (11:22 +0000)
committerDavid Green <david.green@arm.com>
Thu, 1 Aug 2019 11:22:03 +0000 (11:22 +0000)
commit7c938f91eb59655f448b14e863e51d073d49ca27
tree708c9111c849b10a8f7e9d4cd7a918dfa004caa3
parent098417718fec95a92e2031cd202baf519174b468
[ARM] Fix for MVE VREV64

The VREV64 instruction is apparently unpredictable if Qd == Qm, due to the
cross-beat nature of the instruction. This adds an earlyclobber to Qd, which
seems to be the same way we deal with this on other instructions like the
write-back on loads and stores.

Differential Revision: https://reviews.llvm.org/D65502

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrMVE.td
test/CodeGen/Thumb2/mve-shuffle.ll