[llvm] [AArch64] Support lowering smaller than legal LOOP_DEP_MASKs to whilewr/rw (PR #171982)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 12 02:11:42 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-aarch64
Author: Benjamin Maxwell (MacDue)
<details>
<summary>Changes</summary>
This adds support for lowering smaller-than-legal masks such as:
```
<vscale x 8 x i1> @<!-- -->llvm.loop.dependence.war.mask.nxv8i1(ptr %a, ptr %b, i64 1)
```
To a whilewr + unpack. It also slightly simplifies the lowering.
---
Full diff: https://github.com/llvm/llvm-project/pull/171982.diff
2 Files Affected:
- (modified) llvm/lib/Target/AArch64/AArch64ISelLowering.cpp (+28-40)
- (modified) llvm/test/CodeGen/AArch64/alias_mask_scalable.ll (+35)
``````````diff
<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>
``````````
</details>
https://github.com/llvm/llvm-project/pull/171982
More information about the llvm-commits
mailing list