[all-commits] [llvm/llvm-project] 785337: [LV][AArch64] Don't query registers for illegal sc...
Graham Hunter via All-commits
all-commits at lists.llvm.org
Mon Sep 23 05:35:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 785337e2d97a712612a5956657e8dbf1cd140e46
https://github.com/llvm/llvm-project/commit/785337e2d97a712612a5956657e8dbf1cd140e46
Author: Graham Hunter <graham.hunter at arm.com>
Date: 2024-09-23 (Mon, 23 Sep 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/AArch64/scalable-fp-ext-trunc-illegal-type.ll
Log Message:
-----------
[LV][AArch64] Don't query registers for illegal scalable vector elts (#109411)
When trying to maximize vector bandwidth we ask TTI for the number of
registers required for a given operation. If the type of that operation
happens to be something illegal for scalable vectors (e.g.
<vscale x 4 x fp128>) then we would see a crash.
Instead, just return a default value and let the cost model reject the
invalid operation later.
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