[PATCH] D76910: [ARM] Make remaining MVE instruction predicatable

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 02:38:10 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: simon_tatham, SjoerdMeijer, samparker, ostannard.
Herald added subscribers: hiraditya, kristof.beyls.

The unpredictable/hasSideEffects flag is usually inferred by tablegen from whether the instruction has a tablegen pattern (and that pattern only has a single output instruction). Now that the MVE intrinsics are all committed and producing code, the remaining instructions still marked as unpredictable need to be specially handled. This adds the flag directly to instructions that need it, notably the V*MLAL instructions and some of the MOV's.


https://reviews.llvm.org/D76910

Files:
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-vld3.ll
  llvm/test/CodeGen/Thumb2/mve-vld4.ll
  llvm/test/CodeGen/Thumb2/mve-vst3.ll
  llvm/unittests/Target/ARM/MachineInstrTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76910.253059.patch
Type: text/x-patch
Size: 30053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200327/0514a236/attachment.bin>


More information about the llvm-commits mailing list