[all-commits] [llvm/llvm-project] bdb401: [CodeGen] Remove parameter from LiveRangeEdit::can...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Mar 14 09:12:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdb4012fe3f9e30e2ea3e1d92524ad7725b2957e
      https://github.com/llvm/llvm-project/commit/bdb4012fe3f9e30e2ea3e1d92524ad7725b2957e
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/LiveRangeEdit.h
    M llvm/lib/CodeGen/InlineSpiller.cpp
    M llvm/lib/CodeGen/LiveRangeEdit.cpp
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/lib/CodeGen/SplitKit.cpp

  Log Message:
  -----------
  [CodeGen] Remove parameter from LiveRangeEdit::canRematerializeAt [NFC]

Only one caller cares about the true case of this parameter, so move
the check to that single caller.  Note that RegisterCoalescer seems
like it should care, but it already duplicates the check several
lines above.



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