This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/GlobalISel: Keep G_BITCAST out of waterfall loop
ClosedPublic

Authored by arsenm on Jan 4 2020, 9:01 AM.

Details

Summary

The waterfall utility function blindly inserts a phi for every def in
the loop. We don't need this one to be preserved for every
iteration. Saves an extra phi and copy inside the loop body.

Diff Detail