[all-commits] [llvm/llvm-project] 9e41c2: [NFC][CodeGen] Create method to clear registers (#...

Bill Wendling via All-commits all-commits at lists.llvm.org
Thu Sep 21 15:57:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e41c284e051618c5a7215694b05844d7e466410
      https://github.com/llvm/llvm-project/commit/9e41c284e051618c5a7215694b05844d7e466410
  Author: Bill Wendling <5993918+bwendling at users.noreply.github.com>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.h
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86InstrInfo.h

  Log Message:
  -----------
  [NFC][CodeGen] Create method to clear registers (#66958)

Place the architecuture-specific logic to clear registers in a single
place and call it via a TargetInstrInfo method.

This will allow one to add instructions to clear registers holding the
stack protector guard value before return, but do it in
non-architecture-specific code.




More information about the All-commits mailing list