[all-commits] [llvm/llvm-project] 12c12c: TTI: Add function to hasBranchDivergence

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jun 16 15:48:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12c12c5fe0f0ec55086bbd1609c847db6c269cdf
      https://github.com/llvm/llvm-project/commit/12c12c5fe0f0ec55086bbd1609c847db6c269cdf
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
    M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
    M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h

  Log Message:
  -----------
  TTI: Add function to hasBranchDivergence

It my be possible to contextually ignore divergence in a function if
it's known to run single threaded.




More information about the All-commits mailing list