[llvm] [AMDGPU] Move architected SGPR implementation into isel (PR #79120)
Christudasan Devadasan via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 04:34:44 PST 2024
================
@@ -0,0 +1,147 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=amdgcn-amd-hsa -mcpu=gfx900 -mattr=+architected-sgprs --verify-machineinstrs < %s | FileCheck -check-prefix=GFX9-SDAG %s
----------------
cdevadas wrote:
I don't think we have standalone tests that cover workgroup IDs so far.
Can you add a run line for gfx900 (or any arch before gfx12) without -mattr=archited-sgpr?
It makes more sense as this patch refactors the existing code that handles the workgroup IDs too.
Also, why no RUN line for gfx1200?
https://github.com/llvm/llvm-project/pull/79120
More information about the llvm-commits
mailing list