[llvm] [AArch64][SME] Enable subreg liveness tracking when SME is available (PR #92142)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 01:15:13 PDT 2024


================
@@ -584,6 +584,10 @@ AArch64Subtarget::getAuthenticatedLRCheckMethod() const {
   return AArch64PAuth::AuthCheckMethod::None;
 }
 
+bool AArch64Subtarget::enableSubRegLiveness() const {
+  return hasSME() && isStreaming();
----------------
sdesmalen-arm wrote:

nit: a function must have SME in order to be streaming, so `hasSME()` is implied and can therefore be removed.

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


More information about the llvm-commits mailing list