[all-commits] [llvm/llvm-project] edaf65: [CodeGen][NPM] Differentiate pipeline-required and...

Akshat Oke via All-commits all-commits at lists.llvm.org
Wed Jul 9 02:23:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edaf656d5e17799208118069e8b64ee286621f2c
      https://github.com/llvm/llvm-project/commit/edaf656d5e17799208118069e8b64ee286621f2c
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Passes/CodeGenPassBuilder.h
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/tools/llc/new-pm/pipeline.mir
    M llvm/test/tools/llc/new-pm/start-stop.ll

  Log Message:
  -----------
  [CodeGen][NPM] Differentiate pipeline-required and opt-required passes (#135752)

"Required" passes relate to actually running the pass on the IR,
regardless of whether they are in the pipeline.

CGPassBuilder was mistakenly still adding them to the pipeline.

The test `llc -stop-after=greedy -enable-new-pm` would still add
`greedy` to the pipeline otherwise.



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