[all-commits] [llvm/llvm-project] 5230f6: [llvm][GenericUniformity] Prevent assert while cal...

Yashwant Singh via All-commits all-commits at lists.llvm.org
Wed Mar 1 23:13:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5230f6c1c274778d9204288667c62c8b199cab65
      https://github.com/llvm/llvm-project/commit/5230f6c1c274778d9204288667c62c8b199cab65
  Author: Yashwant Singh <Yashwant.Singh at amd.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M llvm/include/llvm/ADT/GenericUniformityImpl.h
    M llvm/lib/Analysis/UniformityAnalysis.cpp
    M llvm/lib/CodeGen/MachineUniformityAnalysis.cpp
    A llvm/test/Analysis/DivergenceAnalysis/AMDGPU/MIR/uses-value-from-cycle.mir

  Log Message:
  -----------
  [llvm][GenericUniformity] Prevent assert while calculating temporal divergence

analyzeTemporalDivergence() was missing the check for always-uniform before
evaluating weather an instruction depends on a value defined in the cycle.
Fix for #60638
https://github.com/llvm/llvm-project/issues/60638

Reviewed By: sameerds, foad, #amdgpu

Differential Revision: https://reviews.llvm.org/D144070




More information about the All-commits mailing list