[all-commits] [llvm/llvm-project] 443825: Recommit "[X86] Simplify some `pternlog` intrinsic...
goldsteinn via All-commits
all-commits at lists.llvm.org
Tue Apr 4 08:35:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 443825c517c862920756bc2c797e5426df57ce73
https://github.com/llvm/llvm-project/commit/443825c517c862920756bc2c797e5426df57ce73
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/CodeGen/X86/ternlog.ll
M llvm/test/Transforms/InstCombine/X86/x86-ternlog.ll
M llvm/unittests/Target/X86/CMakeLists.txt
A llvm/unittests/Target/X86/TernlogTest.cpp
Log Message:
-----------
Recommit "[X86] Simplify some `pternlog` intrinsics" (2nd Try)
Original location of the unittests was Transforms/InstCombine/X86
which caused an issue as non-x86 targets ended up with a dependency on
X86 which isn't right.
Moved the unit tests to Target/X86 so should be good now.
Differential Revision: https://reviews.llvm.org/D145220
Commit: 4b2be144e170504f62362e044a3c4ad3b24da880
https://github.com/llvm/llvm-project/commit/4b2be144e170504f62362e044a3c4ad3b24da880
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2023-04-04 (Tue, 04 Apr 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/test/CodeGen/X86/avx512-gfni-intrinsics.ll
M llvm/test/CodeGen/X86/var-permute-256.ll
M llvm/test/CodeGen/X86/vector-shuffle-v1.ll
M llvm/test/CodeGen/X86/vselect-avx.ll
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] Prefer `vpternlog` instead of `blendv` for `vselect` on masks.
This rarely comes up because most `vselect` are lowered with actually
avx512 mask instructions, but is an improvement in the rare cases.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D145221
Compare: https://github.com/llvm/llvm-project/compare/62bfb0b14ce9...4b2be144e170
More information about the All-commits
mailing list