[all-commits] [llvm/llvm-project] e657b9: [X86] Fold EXTRACT_SUBVECTOR(VPERMV(V, M), C) -> EXT...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Feb 13 04:35:46 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e657b96cd89d5a861dd5792e6c067eab405d6033
https://github.com/llvm/llvm-project/commit/e657b96cd89d5a861dd5792e6c067eab405d6033
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-02-13 (Thu, 13 Feb 2025)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-7.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-8.ll
Log Message:
-----------
[X86] Fold EXTRACT_SUBVECTOR(VPERMV(V,M),C) -> EXTRACT_SUBVECTOR(VPERMV(V,M'),0)
Similar to what we already do for VPERMV3, we can fold the non-zero-idx EXTRACT_SUBVECTOR into the shuffle mask and use a free EXTRACT_SUBVECTOR(V,0) instead
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