[PATCH] D83204: [ARM
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 6 12:53:31 PDT 2020
dmgreen created this revision.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
https://reviews.llvm.org/D83204
Files:
llvm/lib/Target/ARM/ARMInstrVFP.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
@@ -1103,8 +1103,8 @@
for (unsigned Op = 0; Op < ARM::INSTRUCTION_LIST_END; ++Op) {
const MCInstrDesc &Desc = TII->get(Op);
- if ((Desc.TSFlags & ARMII::DomainMask) != ARMII::DomainMVE &&
- (Desc.TSFlags & ARMII::DomainMask) != ARMII::DomainVFP)
+ if (((Desc.TSFlags & ARMII::DomainMask) &
+ (ARMII::DomainMVE | ARMII::DomainVFP | ARMII::DomainNEONA8)) == 0)
continue;
if (UnpredictableOpcodes.count(Op))
continue;
Index: llvm/lib/Target/ARM/ARMInstrVFP.td
===================================================================
--- llvm/lib/Target/ARM/ARMInstrVFP.td
+++ llvm/lib/Target/ARM/ARMInstrVFP.td
@@ -1600,6 +1600,7 @@
// Some single precision VFP instructions may be executed on both NEON and
// VFP pipelines on A8.
let D = VFPNeonA8Domain;
+ let hasSideEffects = 0;
}
def : VFPNoNEONPat<(i32 (fp_to_sint SPR:$a)),
@@ -1647,6 +1648,7 @@
// Some single precision VFP instructions may be executed on both NEON and
// VFP pipelines on A8.
let D = VFPNeonA8Domain;
+ let hasSideEffects = 0;
}
def : VFPNoNEONPat<(i32 (fp_to_uint SPR:$a)),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83204.275624.patch
Type: text/x-patch
Size: 1345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200706/8795a6f2/attachment-0001.bin>
More information about the llvm-commits
mailing list