[all-commits] [llvm/llvm-project] 724663: [AMDGPU] New RegBankSelect: Add Ptr32/Ptr64/Ptr128
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Thu Jun 19 01:00:24 PDT 2025
Branch: refs/heads/users/pierre-vh/newrb-anyptr-types
Home: https://github.com/llvm/llvm-project
Commit: 7246639ccc9e96e1735137886cc3ffbc47de9ceb
https://github.com/llvm/llvm-project/commit/7246639ccc9e96e1735137886cc3ffbc47de9ceb
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2025-06-19 (Thu, 19 Jun 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.h
Log Message:
-----------
[AMDGPU] New RegBankSelect: Add Ptr32/Ptr64/Ptr128
There's quite a few opcodes that do not care about the exact AS of the pointer, just its size.
Adding generic types for these will help reduce duplication in the rule definitions.
I also moved the usual B types to use the new `isAnyPtr` helper I added to make sure they're supersets of the `Ptr` cases
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