[all-commits] [llvm/llvm-project] 0ca54d: [LegalizeTypes] Use getShiftAmountConstant in Spli...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Sep 12 18:55:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ca54d7738103f5ff352f7194b34a11aa4d5aea0
      https://github.com/llvm/llvm-project/commit/0ca54d7738103f5ff352f7194b34a11aa4d5aea0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp

  Log Message:
  -----------
  [LegalizeTypes] Use getShiftAmountConstant in SplitInteger. (#158392)

This function contained old code for handling the case that the type
returned getScalarShiftAmountTy can't hold the shift amount.

These days this is handled by getShiftAmountTy which is used by
getShiftAmountConstant.



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