[all-commits] [llvm/llvm-project] c7ba5a: [X86][SSE] Add initial support for extracting non-...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat Mar 19 06:35:50 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7ba5a9affbcabb0d05301e5417c203274667572
https://github.com/llvm/llvm-project/commit/c7ba5a9affbcabb0d05301e5417c203274667572
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-03-19 (Sat, 19 Mar 2022)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx512-insert-extract.ll
M llvm/test/CodeGen/X86/movmsk-cmp.ll
Log Message:
-----------
[X86][SSE] Add initial support for extracting non-constant bool vector elements
We can use MOVMSK+TEST/BT to extract individual bool elements even if the index isn't constant
This relies on combineBitcastvxi1 so some AVX512 cases still aren't optimized as they avoid MOVMSK usage.
More information about the All-commits
mailing list