[all-commits] [llvm/llvm-project] f0bae5: [GISel] Return const APInt & from getIConstantFrom...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Oct 30 19:16:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0bae562dc3b30e55e5f92e698adf291e024d9a5
      https://github.com/llvm/llvm-project/commit/f0bae562dc3b30e55e5f92e698adf291e024d9a5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp

  Log Message:
  -----------
  [GISel] Return const APInt & from getIConstantFromReg. NFC (#114320)

This matches what the call to ConstantInt::getValue() returns. Let the
caller make a copy if needed.



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