[PATCH] D151459: [GlobalIsel][X86] Legalize G_CTLZ and G_CTPOP for 32-bit

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 09:56:08 PDT 2023


RKSimon added inline comments.


================
Comment at: llvm/lib/Target/X86/X86LegalizerInfo.cpp:208
         .legalForCartesianProduct({s8}, {s8, s16, s32, p0})
         .clampScalar(0, s8, s8);
   }
----------------
Just add the 32-bit handling here along with everything else?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151459/new/

https://reviews.llvm.org/D151459



More information about the llvm-commits mailing list