[clang] __sys builtin support (PR #145079)

2025-06-20 Thread Adam Glass via cfe-commits
https://github.com/AdamGlass created https://github.com/llvm/llvm-project/pull/145079 Adds support for __sys Clang builtin for Aarch64 __sys is a long existing MSVC intrinsic used to manage caches, tlbs, etc by writing to system registers: • It takes a macro-generated constant and uses it to f

[clang] __sys builtin support (PR #145079)

2025-06-20 Thread Adam Glass via cfe-commits
AdamGlass wrote: pushed updated version with ternary operation test swapped. resolved that discussion -- is that my role or daniel's? https://github.com/llvm/llvm-project/pull/145079 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lis

[clang] __sys builtin support (PR #145079)

2025-06-20 Thread Adam Glass via cfe-commits
https://github.com/AdamGlass updated https://github.com/llvm/llvm-project/pull/145079 >From cd5afb986fbbc6ceb68e2b4c6afc48bd1c8bf02e Mon Sep 17 00:00:00 2001 From: Adam Glass Date: Fri, 13 Jun 2025 17:59:20 -0700 Subject: [PATCH 1/2] __sys builtin support --- clang/include/clang/Basic/Builtin