[PATCH] D87759: [ARM] VPT validForTailPredication
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 06:33:38 PDT 2020
samparker created this revision.
samparker added reviewers: SjoerdMeijer, dmgreen, samtebbs, NickGuy.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
samparker requested review of this revision.
Mark all VPT instructions as valid.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87759
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
@@ -747,6 +747,28 @@
case MVE_VORRimmi16:
case MVE_VORRimmi32:
case MVE_VPST:
+ case MVE_VPTv16i8:
+ case MVE_VPTv8i16:
+ case MVE_VPTv4i32:
+ case MVE_VPTv16i8r:
+ case MVE_VPTv8i16r:
+ case MVE_VPTv4i32r:
+ case MVE_VPTv16s8:
+ case MVE_VPTv8s16:
+ case MVE_VPTv4s32:
+ case MVE_VPTv16s8r:
+ case MVE_VPTv8s16r:
+ case MVE_VPTv4s32r:
+ case MVE_VPTv16u8:
+ case MVE_VPTv8u16:
+ case MVE_VPTv4u32:
+ case MVE_VPTv16u8r:
+ case MVE_VPTv8u16r:
+ case MVE_VPTv4u32r:
+ case MVE_VPTv8f16:
+ case MVE_VPTv4f32:
+ case MVE_VPTv8f16r:
+ case MVE_VPTv4f32r:
case MVE_VQABSs16:
case MVE_VQABSs32:
case MVE_VQABSs8:
Index: llvm/lib/Target/ARM/ARMInstrMVE.td
===================================================================
--- llvm/lib/Target/ARM/ARMInstrMVE.td
+++ llvm/lib/Target/ARM/ARMInstrMVE.td
@@ -6453,6 +6453,7 @@
let Inst{4} = 0b0;
let Defs = [VPR];
+ let validForTailPredication=1;
}
class MVE_VPTt1<string suffix, bits<2> size, dag iops>
@@ -6565,6 +6566,7 @@
let Defs = [VPR];
let Predicates = [HasMVEFloat];
+ let validForTailPredication=1;
}
class MVE_VPTft1<string suffix, bit size>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87759.292202.patch
Type: text/x-patch
Size: 1439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/b0d5c7b2/attachment.bin>
More information about the llvm-commits
mailing list