This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix crash on immediate operand
ClosedPublic

Authored by arsenm on Sep 20 2017, 2:57 PM.

Details

Reviewers
rampitec
Summary

We can have a v_mac with an immediate src0.
We can still fold if it's an inline immediate,
otherwise it already uses the constant bus.

Diff Detail

Event Timeline

arsenm created this revision.Sep 20 2017, 2:57 PM
arsenm updated this revision to Diff 116088.Sep 20 2017, 3:11 PM

Fix other perverse cases

This revision is now accepted and ready to land.Sep 20 2017, 4:25 PM
arsenm closed this revision.Sep 20 2017, 5:47 PM

r313852