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

Daniel Paoliello via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 10:05:52 PDT 2026


================
@@ -5647,20 +5639,15 @@ Value *CodeGenFunction::EmitAArch64BuiltinExpr(unsigned BuiltinID,
   }
 
   if (BuiltinID == clang::AArch64::BI_ReadStatusReg ||
-      BuiltinID == clang::AArch64::BI_WriteStatusReg ||
-      BuiltinID == clang::AArch64::BI__sys) {
+      BuiltinID == clang::AArch64::BI_WriteStatusReg) {
     LLVMContext &Context = CGM.getLLVMContext();
----------------
dpaoliello wrote:

Did we lose the `(1 << 1)` ?

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


More information about the cfe-commits mailing list