[PATCH] D33311: [X86] Match bitcast of vsetcc to pmovmsk
Zvi Rackover via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 07:51:26 PDT 2017
zvi added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:29020
+ // vxi1 types.
+ if (!LegalTypes && N0.getOpcode() == ISD::SETCC)
+ if (SDValue V = combineBitcastOfSetCC(DAG, SDLoc(N), VT, N0, Subtarget))
----------------
delena wrote:
> Can you use if (VT.isInteger() && DAG.ComputeNumSignBits(N) == EltBits) ?
i didn't understand the question. Can you please explain this point?
https://reviews.llvm.org/D33311
More information about the llvm-commits
mailing list