[llvm-branch-commits] [clang] [llvm] [AArch64][llvm] Armv9.7-A: Add support for GICv5 (FEAT_GCIE) (PR #163159)
Jonathan Thackray via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Oct 22 06:23:50 PDT 2025
================
@@ -1021,8 +1027,27 @@ bool AArch64InstPrinter::printSysAlias(const MCInst *MI,
OptionalReg = TLBI->OptionalReg;
Ins = "tlbi\t";
Name = std::string(TLBI->Name);
- }
- else
+ } else if (CnVal == 12) {
+ if (CmVal != 0) {
+ // GIC aliases
+ const AArch64GIC::GIC *GIC = AArch64GIC::lookupGICByEncoding(Encoding);
+ if (!GIC || !GIC->haveFeatures(STI.getFeatureBits()))
+ return false;
+
+ NeedsReg = GIC->NeedsReg;
----------------
jthackray wrote:
Yep, will optimise this as suggested.
https://github.com/llvm/llvm-project/pull/163159
More information about the llvm-branch-commits
mailing list