[PATCH] D123652: Add use condition for combine SetCCMOVMSK
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 18:48:39 PDT 2022
LuoYuanke added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:45009
+ NumElts <= CmpBits && CmpVal.isMask(NumElts) &&
+ CmpOp.getNode()->hasOneUse();
if (!IsAnyOf && !IsAllOf)
----------------
Move the check to line 45062? I'm not sure if we should check it for all cases. Currently the existing test cases don't cover all scenarios. The same for IsAnyof.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123652/new/
https://reviews.llvm.org/D123652
More information about the llvm-commits
mailing list