[all-commits] [llvm/llvm-project] e89bec: [SelectionDAG] Expand CLMUL in PromoteIntRes_CLMUL...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jan 8 08:08:16 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e89bec770816add6165993fdebc78815366bd9ee
      https://github.com/llvm/llvm-project/commit/e89bec770816add6165993fdebc78815366bd9ee
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/test/CodeGen/RISCV/clmul.ll

  Log Message:
  -----------
  [SelectionDAG] Expand CLMUL in PromoteIntRes_CLMUL if the operation isn't legal/custom for the promoted type. (#174911)

This allows the expand code to see the original size. Previously we
relied on computeKnownBits to optimize the code after it is expanded
later. This removes the need to zero extend the input during promotion
that was needed to make computeKnownBits work.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list