[all-commits] [llvm/llvm-project] 5a0d73: [compiler-rt][AArch64] NFCI: Simplify __arm_get_cu...
Sander de Smalen via All-commits
all-commits at lists.llvm.org
Tue Dec 10 08:35:29 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5a0d73b1da880e475e8187e8962b574174bdd0a9
https://github.com/llvm/llvm-project/commit/5a0d73b1da880e475e8187e8962b574174bdd0a9
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths:
M compiler-rt/lib/builtins/aarch64/sme-abi.S
Log Message:
-----------
[compiler-rt][AArch64] NFCI: Simplify __arm_get_current_vg. (#119210)
This patch simplifies the code in two different ways:
* When SVE is available, return `cntd` directly to avoid the need for
bitfield insert.
* When SME is available, check the PSTATE.SM bit of `SVCR` directly
rather than calling `__arm_sme_state`.
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