This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't form fmed3 if it will require materialization
ClosedPublic

Authored by arsenm on Sep 17 2018, 7:23 AM.

Details

Reviewers
rampitec
Summary

If there is a single use constant, it can be folded into the
min/max, but not into med3.

Diff Detail

Event Timeline

arsenm created this revision.Sep 17 2018, 7:23 AM
This revision is now accepted and ready to land.Sep 17 2018, 10:43 AM
arsenm closed this revision.Sep 17 2018, 7:36 PM

r342443