Skip to content

Commit 80bc136

Browse files
author
Evandro Menezes
committed
[AArch64] Fix overlapping instructions
Fix overlapping instruction descriptions in the machine model for Exynos M3. Effectively, NFC. llvm-svn: 345186
1 parent cd4deea commit 80bc136

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

llvm/lib/Target/AArch64/AArch64SchedExynosM3.td

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ def ExynosM3Model : SchedMachineModel {
2626
let CompleteModel = 1; // Use the default model otherwise.
2727

2828
list<Predicate> UnsupportedFeatures = [HasSVE];
29-
30-
// FIXME: Remove when all errors have been fixed.
31-
let FullInstRWOverlapCheck = 0;
3229
}
3330

3431
//===----------------------------------------------------------------------===//
@@ -588,7 +585,7 @@ def : InstRW<[M3WriteSA,
588585
// ASIMD instructions.
589586
def : InstRW<[M3WriteNMSC3], (instregex "^[SU]ABAL?v")>;
590587
def : InstRW<[M3WriteNMSC1], (instregex "^[SU]ABDL?v")>;
591-
def : InstRW<[M3WriteNMSC1], (instregex "^(SQ)?(ABS|NEG)v")>;
588+
def : InstRW<[M3WriteNMSC1], (instregex "^((SQ)?ABS|SQNEG)v")>;
592589
def : InstRW<[M3WriteNALU1], (instregex "^(ADD|NEG|SUB)v")>;
593590
def : InstRW<[M3WriteNMSC3], (instregex "^[SU]?ADDL?Pv")>;
594591
def : InstRW<[M3WriteNMSC3], (instregex "^[SU]H(ADD|SUB)v")>;
@@ -597,7 +594,6 @@ def : InstRW<[M3WriteNMSC3], (instregex "^R?(ADD|SUB)HN2?v")>;
597594
def : InstRW<[M3WriteNMSC3], (instregex "^[SU]Q(ADD|SUB)v")>;
598595
def : InstRW<[M3WriteNMSC3], (instregex "^(SU|US)QADDv")>;
599596
def : InstRW<[M3WriteNMSC3], (instregex "^[SU]RHADDv")>;
600-
def : InstRW<[M3WriteNMSC3], (instregex "^[SU]?ADDL?Vv")>;
601597
def : InstRW<[M3WriteNMSC1], (instregex "^CM(EQ|GE|GT|HI|HS|LE|LT)v")>;
602598
def : InstRW<[M3WriteNALU1], (instregex "^CMTSTv")>;
603599
def : InstRW<[M3WriteNALU1], (instregex "^(AND|BIC|EOR|MVNI|NOT|ORN|ORR)v")>;

0 commit comments

Comments
 (0)