[PATCH] D101662: [X86] Promote 16-bit CTTZ_ZERO_UNDEF to 32-bit variant
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 30 14:20:36 PDT 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:373
+
if (!Subtarget.hasBMI()) {
setOperationAction(ISD::CTTZ , MVT::i16 , Custom);
----------------
Make this an else instead of repeating the BMI check?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101662/new/
https://reviews.llvm.org/D101662
More information about the llvm-commits
mailing list