This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix SIFoldOperands crash with clamp
ClosedPublic

Authored by rampitec on Jun 4 2017, 1:38 PM.

Details

Summary

Fixes bug #33302. Pass did not account that Src1 of max instruction can be an immediate.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Jun 4 2017, 1:38 PM
arsenm accepted this revision.Jun 4 2017, 4:12 PM

LGTM

This revision is now accepted and ready to land.Jun 4 2017, 4:12 PM
This revision was automatically updated to reflect the committed changes.