[clang] [llvm] [AArch64] Fix _sys implemantation and MRS/MSR Sema checks (PR #187290)

via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 09:40:55 PDT 2026


================
@@ -14,7 +14,7 @@
 
 // From winnt.h
 #define ARM64_SYSREG(op0, op1, crn, crm, op2) \
-        ( ((op0 & 1) << 14) | \
+        ( ((op0 & 3) << 14) | \
----------------
Lukacma wrote:

Ah I didn't think about that I will adjust the patch

https://github.com/llvm/llvm-project/pull/187290


More information about the cfe-commits mailing list