[llvm] [AArch64][NFC] Add early bail-out in preferTailFoldingOverEpilogue (PR #225327)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 01:32:27 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-aarch64

Author: David Sherwood (david-arm)

<details>
<summary>Changes</summary>

If the default behaviour is to never tail-fold and the user never specified the sve-tail-folding option then just bail out early in preferTailFoldingOverEpilogue to avoid unnecessary computation.

---
Full diff: https://github.com/llvm/llvm-project/pull/225327.diff


1 Files Affected:

- (modified) llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp (+7-3) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


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


More information about the llvm-commits mailing list