[PATCH] D150790: [GlobalIsel][X86] fix legalization of G_CTLZ and GTCTPOP

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 08:53:04 PDT 2023


tschuett added a comment.

That will need larger refactorings. I have already run into this issue. You cannot have two getActionDefinitionsBuilder with the same operation. If I add popcount to setLegalizerInfo32bit, then the builder will be called twice with the same operation: once for 32 and once for 64 bit.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150790



More information about the llvm-commits mailing list