[PATCH] D72502: [ARM][MVE] Tail predicate VMAX,VMAXA,VMIN,VMINA
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 10 06:27:14 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3772ea9dd936: [ARM][MVE] Tail predicate VMAX,VMAXA,VMIN,VMINA (authored by samparker).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72502/new/
https://reviews.llvm.org/D72502
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
@@ -149,6 +149,24 @@
case MVE_VFMA_qr_Sf32:
case MVE_VFMA_qr_f16:
case MVE_VFMA_qr_f32:
+ case MVE_VMAXAs16:
+ case MVE_VMAXAs32:
+ case MVE_VMAXAs8:
+ case MVE_VMAXs16:
+ case MVE_VMAXs32:
+ case MVE_VMAXs8:
+ case MVE_VMAXu16:
+ case MVE_VMAXu32:
+ case MVE_VMAXu8:
+ case MVE_VMINAs16:
+ case MVE_VMINAs32:
+ case MVE_VMINAs8:
+ case MVE_VMINs16:
+ case MVE_VMINs32:
+ case MVE_VMINs8:
+ case MVE_VMINu16:
+ case MVE_VMINu32:
+ case MVE_VMINu8:
case MVE_VMLAS_qr_s16:
case MVE_VMLAS_qr_s32:
case MVE_VMLAS_qr_s8:
Index: llvm/lib/Target/ARM/ARMInstrMVE.td
===================================================================
--- llvm/lib/Target/ARM/ARMInstrMVE.td
+++ llvm/lib/Target/ARM/ARMInstrMVE.td
@@ -1138,6 +1138,7 @@
let Inst{8} = 0b0;
let Inst{6} = 0b1;
let Inst{4} = bit_4;
+ let validForTailPredication = 1;
}
multiclass MVE_VMINMAX_m<string iname, bit bit_4, MVEVectorVTInfo VTI,
@@ -2298,6 +2299,7 @@
let Inst{4} = 0b0;
let Inst{3-1} = Qm{2-0};
let Inst{0} = 0b1;
+ let validForTailPredication = 1;
}
def MVE_VMAXAs8 : MVE_VMINMAXA<"vmaxa", "s8", 0b00, 0b0>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72502.237300.patch
Type: text/x-patch
Size: 1411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200110/d8cda6c6/attachment.bin>
More information about the llvm-commits
mailing list