[llvm-branch-commits] [llvm] [AMDGPU][RegBankInfo] Promote scalar i16 and/or/xor to i32 (PR #131306)

Pierre van Houtryve via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 17 01:48:00 PDT 2025


================
@@ -2432,6 +2433,29 @@ void AMDGPURegisterBankInfo::applyMappingImpl(
       return;
     }
 
+    // 16-bit operations are VALU only, but can be promoted to 32-bit SALU.
+    // Packed 16-bit operations need to be scalarized and promoted.
----------------
Pierre-vh wrote:

It was copy pasted from below and I forgot to remove it, it's irrelevant here

https://github.com/llvm/llvm-project/pull/131306


More information about the llvm-branch-commits mailing list