[clang] [llvm] __declspec(noshrinkwrap) support (PR #147397)

2025-07-07 Thread Adam Glass via cfe-commits
AdamGlass wrote: Change isn't Windows specific -- seems generally useful. You're right that it enshrines the functionality responsible rather than desire 'don't get cute with the prologue'. I'm open to a better name. re: __declspec() -- there is no compatibility requirement for this choice.

[clang] __sys builtin support for AArch64 (PR #146456)

2025-07-02 Thread Adam Glass via cfe-commits
AdamGlass wrote: @efriedma-quic can you see if the test change addresses your feedback. I removed one of the 4 RUNs. https://github.com/llvm/llvm-project/pull/146456 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi

[clang] __sys builtin support for AArch64 (PR #146456)

2025-07-01 Thread Adam Glass via cfe-commits
AdamGlass wrote: I get it. The automation though had added half of humanity to the reviewers list. I don't have commit access yet so I couldn't remove them either :). I just tried to stop the bleeding fast. https://github.com/llvm/llvm-project/pull/146456 ___

[clang] __sys builtin support for AArch64 (PR #146456)

2025-06-30 Thread Adam Glass via cfe-commits
https://github.com/AdamGlass created https://github.com/llvm/llvm-project/pull/146456 [This is a resubmit of 145079 after some git clumsiness on my part responding to feedback] Adds support for __sys Clang builtin for AArch64 __sys is a long existing MSVC intrinsic used to manage caches, tlbs

[clang] __sys builtin support (PR #145079)

2025-06-30 Thread Adam Glass via cfe-commits
AdamGlass wrote: test failed though it had succeeded here. i'll investigate. https://github.com/llvm/llvm-project/pull/145079 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[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

[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