This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Add stub reg-bank aware combiner pass
ClosedPublic

Authored by arsenm on Dec 27 2019, 11:20 AM.

Details

Diff Detail

Event Timeline

arsenm created this revision.Dec 27 2019, 11:20 AM
kerbowa accepted this revision.Jan 5 2020, 10:40 PM

LGTM

This revision is now accepted and ready to land.Jan 5 2020, 10:40 PM
uabelho added a subscriber: uabelho.EditedJun 4 2020, 6:54 AM

Hi!

With gcc 7.4, the following warning pops up with this patch:

[32/115] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPURegBankCombiner.cpp.o
In file included from ../lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp:39:0:
lib/Target/AMDGPU/AMDGPUGenRegBankGICombiner.inc:65:6: warning: 'bool {anonymous}::AMDGPUGenRegBankCombinerHelper::isRuleDisabled(unsigned int) const' defined but not used [-Wunused-function]
 bool AMDGPUGenRegBankCombinerHelper::isRuleDisabled(unsigned RuleID) const {
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~