[llvm] r328969 - [PowerPC] fix assertion failure due to missing instruction in P9InstrResources.td
Hiroshi Inoue via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 2 05:18:21 PDT 2018
Author: inouehrs
Date: Mon Apr 2 05:18:21 2018
New Revision: 328969
URL: http://llvm.org/viewvc/llvm-project?rev=328969&view=rev
Log:
[PowerPC] fix assertion failure due to missing instruction in P9InstrResources.td
This patch adds L(D|W|H|B)XTLS instructions introduced by https://reviews.llvm.org/rL327635 in P9InstrResources.td.
Modified:
llvm/trunk/lib/Target/PowerPC/P9InstrResources.td
Modified: llvm/trunk/lib/Target/PowerPC/P9InstrResources.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/P9InstrResources.td?rev=328969&r1=328968&r2=328969&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/P9InstrResources.td (original)
+++ llvm/trunk/lib/Target/PowerPC/P9InstrResources.td Mon Apr 2 05:18:21 2018
@@ -736,12 +736,13 @@ def : InstRW<[P9_LS_4C, IP_AGEN_1C, DISP
(instregex "ICBI(EP)?$"),
(instregex "ICBT(LS)?$"),
(instregex "LBARX(L)?$"),
- (instregex "LBZ(CIX|8|X|X8)?$"),
- (instregex "LD(ARX|ARXL|BRX|CIX|X)?$"),
+ (instregex "LBZ(CIX|8|X|X8|XTLS)?$"),
+ (instregex "LD(ARX|ARXL|BRX|CIX|X|XTLS)?$"),
(instregex "LH(A|B)RX(L)?(8)?$"),
(instregex "LWARX(L)?$"),
(instregex "LWBRX(8)?$"),
- (instregex "LWZ(8|CIX|X|X8)?$"),
+ (instregex "LWZ(8|CIX|X|X8|XTLS)?$"),
+ (instregex "LHZ(8|CIX|X|X8|XTLS)?$"),
CP_ABORT,
DARN,
EnforceIEIO,
@@ -749,11 +750,6 @@ def : InstRW<[P9_LS_4C, IP_AGEN_1C, DISP
MSGSYNC,
TLBSYNC,
SYNC,
- LHZ,
- LHZ8,
- LHZCIX,
- LHZX,
- LHZX8,
LMW,
LSWI
)>;
More information about the llvm-commits
mailing list