Remove align-up vectors in dense Load/Store of SVE2#9120
Remove align-up vectors in dense Load/Store of SVE2#9120stevesuzuki-arm wants to merge 1 commit intohalide:mainfrom
Conversation
Now that fallback mechanism excludes odd sized vectors in SVE2, this change results in better instructions by LLVM optimization than using predicates.
|
re: "Benchmarks are included here if the change is intended to affect performance" and "this change results in better instructions by LLVM optimization than using predicates." Can you please show us a before/after codegen snippet? If the point is to change codegen, I like to see the change 🙂 |
Before Align-up to x16 and slice down/up is probablly complicating After |
|
Thanks! That's clearly better... is there a simple regression test we can add that checks for the absence of |
This is a simple repro. If you think it worth adding to existing tests, would you suggest where to place? |
In |
Just in case, do you mean |
Now that fallback mechanism excludes odd sized vectors in SVE2, this change results in better instructions by LLVM optimization than using predicates.
Breaking changes
No
Checklist