[all-commits] [llvm/llvm-project] 1a300a: [MachineLICM] Let targets decide if copy-like inst...

Guy David via All-commits all-commits at lists.llvm.org
Fri Jul 4 08:40:41 PDT 2025


  Branch: refs/heads/users/guy-david/licm-hoist-copy-like
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a300af99f98cac800c7318cb95ef3e33a4457b3
      https://github.com/llvm/llvm-project/commit/1a300af99f98cac800c7318cb95ef3e33a4457b3
  Author: Guy David <guyda96 at gmail.com>
  Date:   2025-07-04 (Fri, 04 Jul 2025)

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

  Log Message:
  -----------
  [MachineLICM] Let targets decide if copy-like instructions are cheap

When checking whether it is profitable to hoist an instruction, the pass
may override a target's ruling because it assumes that all COPY
instructions are cheap, and that may not be the case for all
micro-architectures.

On AArch64 there's 0% difference in performance in LLVM's test-suite.



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