[all-commits] [llvm/llvm-project] 346ee5: [GlobalISel][X86] Add G_CTTZ_ZERO_UNDEF/G_CTTZ leg...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jun 5 03:18:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 346ee549e5e25a68681b678020df8c38e7b68737
      https://github.com/llvm/llvm-project/commit/346ee549e5e25a68681b678020df8c38e7b68737
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86LegalizerInfo.cpp
    A llvm/test/CodeGen/X86/GlobalISel/legalize-trailing-zeros-undef.mir
    A llvm/test/CodeGen/X86/GlobalISel/legalize-trailing-zeros.mir

  Log Message:
  -----------
  [GlobalISel][X86] Add G_CTTZ_ZERO_UNDEF/G_CTTZ legalization handling

G_CTTZ_ZERO_UNDEF is always legal using the BSF instruction, G_CTTZ requires the BMI1 TZCNT instruction


  Commit: d75efc1d51c1b2f26efd67230547eeca338eccb5
      https://github.com/llvm/llvm-project/commit/d75efc1d51c1b2f26efd67230547eeca338eccb5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    A llvm/test/CodeGen/X86/pr63091.ll

  Log Message:
  -----------
  [X86] Add test case for Issue #63091


  Commit: d37bd544ffe0e56abd4554493b278ecc64e3d51a
      https://github.com/llvm/llvm-project/commit/d37bd544ffe0e56abd4554493b278ecc64e3d51a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/pr63091.ll

  Log Message:
  -----------
  [X86] canonicalizeShuffleWithBinOps - ensure a binary shuffle of binops have the same value type

Fixes #63091


Compare: https://github.com/llvm/llvm-project/compare/a1421797d879...d37bd544ffe0


More information about the All-commits mailing list