[all-commits] [llvm/llvm-project] 94b222: [GlobalISel] Add `widenScalarFor()` function (#187...

Igor Wodiany via All-commits all-commits at lists.llvm.org
Mon Mar 23 03:17:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94b222bec71a46c3f3aa11169f0a7638779d1fe1
      https://github.com/llvm/llvm-project/commit/94b222bec71a46c3f3aa11169f0a7638779d1fe1
  Author: Igor Wodiany <igor.wodiany at amd.com>
  Date:   2026-03-23 (Mon, 23 Mar 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h

  Log Message:
  -----------
  [GlobalISel] Add `widenScalarFor()` function (#187731)

The function is mentioned in `Legalizer.rst` but has been missing. This
also fixes the asymetry between `narrowScalarXXX()` that has both
`narrowScalarFor()` and `narrowScalarIf()`, and `widenScalarXXX()` that
only had `widenScalarIf()`.



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