[all-commits] [llvm/llvm-project] bc713b: [GlobalIsel][X86] fix legalization of G_CTLZ and G...

tschuett via All-commits all-commits at lists.llvm.org
Thu May 25 07:41:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc713b193fecd1566a333dc74dfbf5bc04cbc36e
      https://github.com/llvm/llvm-project/commit/bc713b193fecd1566a333dc74dfbf5bc04cbc36e
  Author: Thorsten Schütt <schuett at gmail.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86LegalizerInfo.cpp
    M llvm/test/CodeGen/X86/GlobalISel/legalize-ctpop.mir
    M llvm/test/CodeGen/X86/GlobalISel/legalize-leading-zeros.mir

  Log Message:
  -----------
  [GlobalIsel][X86] fix legalization of G_CTLZ and G_CTPOP

Note that the builders are protected by is64Bit().

More fine-grained availibility checks.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D150790




More information about the All-commits mailing list