This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add SIPreEmitPeephole pass.
ClosedPublic

Authored by cdevadas on Mar 24 2020, 9:32 AM.

Details

Summary

This pass will handle all the optimization
opportunities found just before code emission.
Presently it includes the handling of vcc branch
optimization that was handled earlier in SIInsertSkips.

Diff Detail

Event Timeline

cdevadas created this revision.Mar 24 2020, 9:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2020, 9:32 AM
arsenm accepted this revision.Mar 24 2020, 10:06 AM

LGTM

llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
163

Extra blank line

This revision is now accepted and ready to land.Mar 24 2020, 10:06 AM
This revision was automatically updated to reflect the committed changes.