[llvm-branch-commits] [llvm] [AArch64][GlobalISel] Add support for lowering trunc stores of vector bools. (PR #121169)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Dec 27 01:23:58 PST 2024
================
@@ -4142,9 +4142,40 @@ LegalizerHelper::LegalizeResult LegalizerHelper::lowerStore(GStore &StoreMI) {
}
if (MemTy.isVector()) {
- // TODO: Handle vector trunc stores
- if (MemTy != SrcTy)
+ LLT MemScalarTy = MemTy.getElementType();
+ if (MemTy != SrcTy) {
----------------
arsenm wrote:
If the DAG has scalarizeVectorStore, move this to a similarly named helper?
https://github.com/llvm/llvm-project/pull/121169
More information about the llvm-branch-commits
mailing list