This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add macro fusion schedule DAG mutation
ClosedPublic

Authored by arsenm on Jul 3 2017, 11:11 PM.

Details

Reviewers
vpykhtin
rampitec
Summary

Try to increase opportunities to shrink vcc uses.

Diff Detail

Event Timeline

arsenm created this revision.Jul 3 2017, 11:11 PM
javed.absar added inline comments.
lib/Target/AMDGPU/AMDGPUMacroFusion.cpp
34

This might be shorter and easier to read. Just a suggestion.

if (opcode == AMDGPU::V_ADDC_U32_e64 || ... || ) {

 ... 
return FirstMI->...

}
return false;

This revision is now accepted and ready to land.Jul 6 2017, 10:16 AM
arsenm closed this revision.Jul 6 2017, 1:57 PM

r307313