[all-commits] [llvm/llvm-project] 583450: AMDGPU: Fix DivergenceAnalysis for llvm.read_register

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Nov 7 10:42:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 583450fa0988d1ac088d36ec840cec4f84e013c4
      https://github.com/llvm/llvm-project/commit/583450fa0988d1ac088d36ec840cec4f84e013c4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
    A llvm/test/Analysis/DivergenceAnalysis/AMDGPU/read_register.ll

  Log Message:
  -----------
  AMDGPU: Fix DivergenceAnalysis for llvm.read_register

This was treating all calls as uniform by default, which
is wrong if used to read a VGPR.




More information about the All-commits mailing list