[PATCH] D75902: [ARM][MVE] VFMA and VFMS validForTailPredication

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 03:46:45 PDT 2020


samparker created this revision.
samparker added reviewers: dmgreen, SjoerdMeijer.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.

Add four instructions to the whitelist.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75902

Files:
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/unittests/Target/ARM/MachineInstrTest.cpp


Index: llvm/unittests/Target/ARM/MachineInstrTest.cpp
===================================================================
--- llvm/unittests/Target/ARM/MachineInstrTest.cpp
+++ llvm/unittests/Target/ARM/MachineInstrTest.cpp
@@ -145,6 +145,10 @@
     case MVE_VFMA_qr_Sf32:
     case MVE_VFMA_qr_f16:
     case MVE_VFMA_qr_f32:
+    case MVE_VFMAf16:
+    case MVE_VFMAf32:
+    case MVE_VFMSf16:
+    case MVE_VFMSf32:
     case MVE_VMAXAs16:
     case MVE_VMAXAs32:
     case MVE_VMAXAs8:
Index: llvm/lib/Target/ARM/ARMInstrMVE.td
===================================================================
--- llvm/lib/Target/ARM/ARMInstrMVE.td
+++ llvm/lib/Target/ARM/ARMInstrMVE.td
@@ -3417,6 +3417,7 @@
   let Inst{8} = bit_8;
   let Inst{7} = Qn{3};
   let Inst{4} = bit_4;
+  let validForTailPredication = 1;
 }
 
 def MVE_VFMAf32 : MVE_VADDSUBFMA_fp<"vfma", "f32", 0b0, 0b1, 0b0, 0b0,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75902.249301.patch
Type: text/x-patch
Size: 885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200310/9c187dd1/attachment.bin>


More information about the llvm-commits mailing list