[clang] [llvm] [clang][builtin] Implement __builtin_allow_runtime_check (PR #87568)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 12 15:44:38 PDT 2024


================
@@ -3464,6 +3464,34 @@ Query for this feature with ``__has_builtin(__builtin_trap)``.
 
 ``__builtin_arm_trap`` is lowered to the ``llvm.aarch64.break`` builtin, and then to ``brk #payload``.
 
+``__builtin_allow_runtime_check``
----------------
vitalybuka wrote:

Not sure how to do that. I would expected that from `__builtin_nan`, but it can't do that:
https://godbolt.org/z/hWx47Gqvn

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


More information about the cfe-commits mailing list