[all-commits] [llvm/llvm-project] f7aeac: [X86][SSE] Add isHorizOp helper function. NFCI.
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Apr 1 03:54:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7aeaced658c507c5d5ac6e589f4844588267eef
https://github.com/llvm/llvm-project/commit/f7aeaced658c507c5d5ac6e589f4844588267eef
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86][SSE] Add isHorizOp helper function. NFCI.
Commit: 301319840e112c090b6c424a9ade475b7504b34a
https://github.com/llvm/llvm-project/commit/301319840e112c090b6c424a9ade475b7504b34a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/horizontal-sum.ll
Log Message:
-----------
[X86][SSE] Enable (F)HADD/SUB handling to SimplifyMultipleUseDemandedVectorElts
Attempt to bypass unused horiz-op operands.
This is very similar to the PACKSS/PACKUS handling - we should try to merge these.
Commit: abbe80fa52c5286ec929116df6a58d793d6f0d0e
https://github.com/llvm/llvm-project/commit/abbe80fa52c5286ec929116df6a58d793d6f0d0e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-04-01 (Thu, 01 Apr 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/horizontal-sum.ll
Log Message:
-----------
[X86][SSE] Fold HOP(HOP(X,X),HOP(Y,Y)) -> HOP(PERMUTE(HOP(X,Y)),PERMUTE(HOP(X,Y))
For slow-hop targets, attempt to merge HADD/SUB pairs used in chains.
Compare: https://github.com/llvm/llvm-project/compare/0f5ebbcc7fc3...abbe80fa52c5
More information about the All-commits
mailing list