[RegAlloc] Remove addAllocPriorityToGlobalRanges hook
authorQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 18 Aug 2021 02:12:19 +0000 (10:12 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 18 Aug 2021 02:21:27 +0000 (10:21 +0800)
commit5ca250a03dfed83114926aa89759fe011fb837cb
treedb8996b2154a512893854030c66795129b015cac
parenta7ebc4d145892fd22442832549cb12c4b6920dea
[RegAlloc] Remove addAllocPriorityToGlobalRanges hook

It was introduced in 1a6dc92 and only enabled on PowerPC/AMDGPU. That
should be enabled for all targets.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D108010
llvm/include/llvm/CodeGen/TargetRegisterInfo.h
llvm/lib/CodeGen/RegAllocGreedy.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.h
llvm/lib/Target/PowerPC/PPCRegisterInfo.h