[all-commits] [llvm/llvm-project] 5d7911: [Pipelines] Perform mergefunc after constmerge (#9...

YAMAMOTO Takashi via All-commits all-commits at lists.llvm.org
Fri Jul 5 03:28:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d7911095931d4894e63fa3379a598384f2eb029
      https://github.com/llvm/llvm-project/commit/5d7911095931d4894e63fa3379a598384f2eb029
  Author: YAMAMOTO Takashi <yamamoto at midokura.com>
  Date:   2024-07-05 (Fri, 05 Jul 2024)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/test/Other/new-pm-defaults.ll
    A llvm/test/Transforms/PhaseOrdering/X86/merge-functions2.ll
    A llvm/test/Transforms/PhaseOrdering/X86/merge-functions3.ll

  Log Message:
  -----------
  [Pipelines] Perform mergefunc after constmerge (#92498)

Constmerge can fold switch jump tables, possibly making functions
identical again. It can help mergefunc.
On the other hand, the opposite seems unlikely.

Fixes https://github.com/llvm/llvm-project/issues/92201.



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