[all-commits] [llvm/llvm-project] 87e14f: [CodeGen] Minor refactor of CSRSavedLocation struc...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Dec 4 13:36:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87e14f58ad0dae4eef6acea8fa92ec967e083db9
      https://github.com/llvm/llvm-project/commit/87e14f58ad0dae4eef6acea8fa92ec967e083db9
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M llvm/lib/CodeGen/CFIInstrInserter.cpp

  Log Message:
  -----------
  [CodeGen] Minor refactor of CSRSavedLocation struct [nfc] (#170721)

Add operator==, clarify invariants with an assert.  

This does convert one llvm_unreachable into an assert which runs earlier
in the computation. I don't believe the difference is observable outside
debug builds, and should report the fault closer to introduction.



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