[all-commits] [llvm/llvm-project] 7e5fe6: [X86] Speed up checking clobbered FP/BP (#102365)

weiguozhi via All-commits all-commits at lists.llvm.org
Thu Aug 8 08:26:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e5fe697bf408172250b077e151ace3a834da2cc
      https://github.com/llvm/llvm-project/commit/7e5fe697bf408172250b077e151ace3a834da2cc
  Author: weiguozhi <57237827+weiguozhi at users.noreply.github.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86FrameLowering.cpp
    M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
    M llvm/lib/Target/X86/X86MachineFunctionInfo.h

  Log Message:
  -----------
  [X86] Speed up checking clobbered FP/BP (#102365)

Most functions don't clobber frame register and base pointer. They are
usually caused by inline asm and function call. So we can record if a
function call clobber FP/BP at lowering phase, and later we can check
the recorded information and return early.



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