[all-commits] [llvm/llvm-project] 0501c1: [X86] Add isFreeToSplitVector helper to detect nod...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Jun 29 07:28:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0501c1603f5dbbd81627ee1c25cff470b867a13f
https://github.com/llvm/llvm-project/commit/0501c1603f5dbbd81627ee1c25cff470b867a13f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Add isFreeToSplitVector helper to detect nodes that we can freely split/extract subvectors from.
Helper wrapper around the existing collectConcatOps method.
Commit: 34961c600d477386050828de4261d3c3a7cb809c
https://github.com/llvm/llvm-project/commit/34961c600d477386050828de4261d3c3a7cb809c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx512-ext.ll
M llvm/test/CodeGen/X86/concat-cast.ll
M llvm/test/CodeGen/X86/masked_store_trunc_usat.ll
M llvm/test/CodeGen/X86/vector-compare-results.ll
M llvm/test/CodeGen/X86/vector-pack-256.ll
M llvm/test/CodeGen/X86/vector-pack-512.ll
M llvm/test/CodeGen/X86/vector-sext.ll
M llvm/test/CodeGen/X86/vector-trunc-usat.ll
Log Message:
-----------
[X86] LowerTRUNCATE - attempt to use PACKSS/PACKUS on AVX512 targets if the truncation source is concatenating from smaller subvectors
Don't just use AVX512 truncation ops if PACKSS/PACKUS can do this more cheaply
Compare: https://github.com/llvm/llvm-project/compare/d662865f7677...34961c600d47
More information about the All-commits
mailing list