[all-commits] [llvm/llvm-project] cf2f32: [MIR] Serialize MachineFrameInfo::isCalleeSavedInf...

David Tellenbach via All-commits all-commits at lists.llvm.org
Wed May 1 10:08:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf2f32c97f8fece105557c2357be4809cb9c14a1
      https://github.com/llvm/llvm-project/commit/cf2f32c97f8fece105557c2357be4809cb9c14a1
  Author: David Tellenbach <dtellenbach at apple.com>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MIRYamlMapping.h
    M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
    M llvm/lib/CodeGen/MIRPrinter.cpp
    A llvm/test/CodeGen/MIR/AArch64/calleesavedinfovalid.mir
    M llvm/test/CodeGen/MIR/Generic/frame-info.mir

  Log Message:
  -----------
  [MIR] Serialize MachineFrameInfo::isCalleeSavedInfoValid() (#90561)

In case of functions without a stack frame no "stack" field is
serialized into MIR which leads to isCalleeSavedInfoValid being false
when reading a MIR file back in. To fix this we should serialize
MachineFrameInfo::isCalleeSavedInfoValid() into MIR.



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