This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Allow SIShrinkInstructions to work in non-SSA
ClosedPublic

Authored by arsenm on Jul 7 2017, 4:40 PM.

Details

Reviewers
rampitec
Summary

Immediates can be folded as long as the immediate is a vreg.

Also undo commuting instructions if it didn't fold an immediate.

Diff Detail

Event Timeline

arsenm created this revision.Jul 7 2017, 4:40 PM
This revision is now accepted and ready to land.Jul 8 2017, 12:15 AM
arsenm closed this revision.Jul 10 2017, 12:54 PM

r307575