[all-commits] [llvm/llvm-project] 3a42f8: [ARM] Emit llvm.clear_cache for __clear_cache() (#...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Sep 15 05:15:32 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a42f8a335269c4d01274f8b04057fa66c87d969
https://github.com/llvm/llvm-project/commit/3a42f8a335269c4d01274f8b04057fa66c87d969
Author: Nikita Popov <npopov at redhat.com>
Date: 2026-09-15 (Tue, 15 Sep 2026)
Changed paths:
M clang/lib/CodeGen/TargetBuiltins/ARM.cpp
M clang/test/CodeGen/builtins-arm.c
M clang/test/CodeGen/builtins-arm64.c
Log Message:
-----------
[ARM] Emit llvm.clear_cache for __clear_cache() (#223398)
It looks like the ARM-specific __clear_cache() builtin emits different
IR than the generic __builtin___clear_cache() builtin (added later),
which uses the llvm.clear_cache intrinsic (which will typically lower to
a __clear_cache libcall, of course).
Use llvm.clear_cache for __clear_cache() as well, for consistency and to
slightly simplify the code.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list