[all-commits] [llvm/llvm-project] 1d5e5f: [GISEL][NFC] Fix comment for widenScalarToNextPow2

Michael Maitland via All-commits all-commits at lists.llvm.org
Mon Apr 1 15:09:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d5e5f4d3c68e63ced47ee9b17d62fb995aa1e62
      https://github.com/llvm/llvm-project/commit/1d5e5f4d3c68e63ced47ee9b17d62fb995aa1e62
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2024-04-01 (Mon, 01 Apr 2024)

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

  Log Message:
  -----------
  [GISEL][NFC] Fix comment for widenScalarToNextPow2

The docstring for this function incorrectly specified when a widening is
not performed. This patch adds the additional specification for what
happens when the type size is a power of two but it is less than MinSize.



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