[all-commits] [llvm/llvm-project] 94e246: AMDGPU: Remove attempt at simplifying the format s...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jul 7 06:26:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94e24624c2f5b7ebdfd8be898986f943c9462b7f
      https://github.com/llvm/llvm-project/commit/94e24624c2f5b7ebdfd8be898986f943c9462b7f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll

  Log Message:
  -----------
  AMDGPU: Remove attempt at simplifying the format string in printf lowering

This avoids computing the dominator tree by removing the
simplifyInstruction use.

This was applying simplification with some kind of questionable
load-store forwarding and looking for the global. This had to have
been an ancient hack copied from previous backends. In the OpenCL
case, this is always emitted as required the direct global reference
anyway.


  Commit: 9a97e3bf8c3f576b29dfcd76925b6c23b3961b99
      https://github.com/llvm/llvm-project/commit/9a97e3bf8c3f576b29dfcd76925b6c23b3961b99
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M clang/lib/Headers/__clang_hip_math.h
    M clang/test/Headers/__clang_hip_math.hip

  Log Message:
  -----------
  HIP: Directly call ceil builtins


Compare: https://github.com/llvm/llvm-project/compare/33909c8fad93...9a97e3bf8c3f


More information about the All-commits mailing list