[all-commits] [llvm/llvm-project] 4c2ad8: [AMDGPU] Do not preserve UniformityInfo (#76696)

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Tue Jan 2 00:13:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c2ad82b9dff537f7c8f0a2abb0d5dc7e6435741
      https://github.com/llvm/llvm-project/commit/4c2ad82b9dff537f7c8f0a2abb0d5dc7e6435741
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M llvm/include/llvm/ADT/GenericUniformityImpl.h
    M llvm/lib/Target/AMDGPU/AMDGPURewriteUndefForPHI.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp

  Log Message:
  -----------
  [AMDGPU] Do not preserve UniformityInfo (#76696)

UniformityInfo has a transitive dependence on CycleInfo. A transform may
change the CFG in trivial ways that do not affect uniformity, but that
can leave cycles in a slightly inconsistent state. In the absence of
updates to CycleInfo, it's cleaner to just invalidate both analyses.




More information about the All-commits mailing list