[all-commits] [llvm/llvm-project] 763bc9: [mlir][amdgpu] Align Chipset with TargetParser (#1...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Sep 9 08:12:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 763bc9249cf0b7da421182e24716d9a569fb5184
      https://github.com/llvm/llvm-project/commit/763bc9249cf0b7da421182e24716d9a569fb5184
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/AMDGPU/Utils/Chipset.h
    M mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
    M mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp
    M mlir/lib/Dialect/AMDGPU/Transforms/EmulateAtomics.cpp
    M mlir/lib/Dialect/AMDGPU/Utils/Chipset.cpp
    M mlir/unittests/Dialect/AMDGPU/AMDGPUUtilsTest.cpp

  Log Message:
  -----------
  [mlir][amdgpu] Align Chipset with TargetParser (#107720)

Update the Chipset struct to follow the `IsaVersion` definition from
llvm's `TargetParser`. This is a follow up to
https://github.com/llvm/llvm-project/pull/106169#discussion_r1733955012.

* Add the stepping version. Note: This may break downstream code that
compares against the minor version directly.
* Use comparisons with full Chipset version where possible.

Note that we can't use the code in `TargetParser` directly because the
chipset utility is outside of `mlir/Target` that re-exports llvm's
target library.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list