[all-commits] [llvm/llvm-project] 20532c: [AMDGPU] make AMDGPUUniformIntrinsicCombine a func...

Pankaj Dwivedi via All-commits all-commits at lists.llvm.org
Tue Oct 28 23:27:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20532c0aab266b39cd6e1047f5985585e8c92551
      https://github.com/llvm/llvm-project/commit/20532c0aab266b39cd6e1047f5985585e8c92551
  Author: Pankaj Dwivedi <pankajkumar.divedi at amd.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUPassRegistry.def
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUUniformIntrinsicCombine.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu-simplify-uniform-waterfall.ll
    M llvm/test/CodeGen/AMDGPU/amdgpu-uniform-intrinsic-combine.ll

  Log Message:
  -----------
  [AMDGPU] make AMDGPUUniformIntrinsicCombine a function pass  (#165265)

There has been an issue(using function analysis inside the module pass
in OPM) integrating this pass into the LLC pipeline, which currently
lacks NPM support. I tried finding a way to get the per-function
analysis, but it seems that in OPM, we don't have that option.

So the best approach would be to make it a function pass.

Ref: https://github.com/llvm/llvm-project/pull/116953



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