[all-commits] [llvm/llvm-project] e2903a: [AMDGPU] Remove integer division in VOPD checks

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Jun 12 15:02:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2903abc154a683dec09b28a13464dcf92ec9c33
      https://github.com/llvm/llvm-project/commit/e2903abc154a683dec09b28a13464dcf92ec9c33
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h

  Log Message:
  -----------
  [AMDGPU] Remove integer division in VOPD checks

There is no way any compiler can simplify this division, while
the check is done rather often.

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




More information about the All-commits mailing list