[all-commits] [llvm/llvm-project] 658f33: [AMDGPU] Remove selectSGPRVectorRegClassID. NFC.

jayfoad via All-commits all-commits at lists.llvm.org
Tue Apr 21 08:30:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 658f33dcea4640c0766a9b3ad67004c900892506
      https://github.com/llvm/llvm-project/commit/658f33dcea4640c0766a9b3ad67004c900892506
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
    M llvm/lib/Target/AMDGPU/SIRegisterInfo.h

  Log Message:
  -----------
  [AMDGPU] Remove selectSGPRVectorRegClassID. NFC.

This was yet another function that had to be updated whenever you added
a new register class. Remove it by refactoring its only caller to use
standard helper functions from SIRegisterInfo.

Differential Revision: https://reviews.llvm.org/D78557




More information about the All-commits mailing list