[all-commits] [llvm/llvm-project] 5b9403: [PhaseOrdering] Add test for incorrect merge funct...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Dec 4 01:12:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b94037a304eb88809f86d8b9235426976061009
      https://github.com/llvm/llvm-project/commit/5b94037a304eb88809f86d8b9235426976061009
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

  Changed paths:
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    A llvm/test/Transforms/PhaseOrdering/X86/merge-functions.ll

  Log Message:
  -----------
  [PhaseOrdering] Add test for incorrect merge function scheduling

Add an -enable-merge-functions option to allow testing of function
merging as it will actually happen in the optimization pipeline.
Based on that add a test where we currently produce two identical
functions without merging them due to incorrect pass scheduling
under the new pass manager.




More information about the All-commits mailing list