[llvm] [AMDGPU] Add regbankselect rules for G_ADD/SUB and variants (PR #159860)

Petar Avramovic via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 03:49:47 PDT 2025


================
@@ -500,6 +500,27 @@ void RegBankLegalizeHelper::lowerUnpackMinMax(MachineInstr &MI) {
   MI.eraseFromParent();
 }
 
+void RegBankLegalizeHelper::lowerScalarizeV2S16(MachineInstr &MI) {
----------------
petar-avramovic wrote:

Name does not reflect what this function does, it is not scalarize

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


More information about the llvm-commits mailing list