[llvm] r243933 - [AArch64][v8.1a] The "pan" sysreg isn't MSR-specific. NFCI.

Ahmed Bougacha ahmed.bougacha at gmail.com
Mon Aug 3 17:55:11 PDT 2015


Author: ab
Date: Mon Aug  3 19:55:11 2015
New Revision: 243933

URL: http://llvm.org/viewvc/llvm-project?rev=243933&view=rev
Log:
[AArch64][v8.1a] The "pan" sysreg isn't MSR-specific. NFCI.

It's already in SysRegMappings, no need to also have it in MSRMappings:
the latter is only used if we didn't find a match in the former.

Modified:
    llvm/trunk/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp

Modified: llvm/trunk/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp?rev=243933&r1=243932&r2=243933&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp Mon Aug  3 19:55:11 2015
@@ -275,9 +275,6 @@ const AArch64NamedImmMapper::Mapping AAr
   {"icc_sgi1r_el1", ICC_SGI1R_EL1, {}},
   {"icc_asgi1r_el1", ICC_ASGI1R_EL1, {}},
   {"icc_sgi0r_el1", ICC_SGI0R_EL1, {}},
-
-  // v8.1a "Privileged Access Never" extension-specific system registers
-  {"pan", PAN, {AArch64::HasV8_1aOps}},
 };
 
 AArch64SysReg::MSRMapper::MSRMapper() {





More information about the llvm-commits mailing list