[PATCH] D42042: [X86][SSE] Add custom execution domain fixing for BLENDPD/BLENDPS/PBLENDD/PBLENDW (PR34873)
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 14 12:06:50 PST 2018
craig.topper added inline comments.
================
Comment at: lib/Target/X86/X86InstrInfo.cpp:10098
+ if (Subtarget.hasAVX2()) {
+ if (AdjustBlendMask(Imm, ImmWidth, Is256 ? 8 : 4, &NewImm))
+ table = lookup(Opcode, dom, ReplaceableCustomAVX2Instrs);
----------------
This doesn't work if we ever start with a BLENDW that could be represented with a BLENDD right? We'd find the BLENDW in the table search and keep that opcode, but give it a BLENDD immediate?
Repository:
rL LLVM
https://reviews.llvm.org/D42042
More information about the llvm-commits
mailing list