This is an archive of the discontinued LLVM Phabricator instance.

Add tests to document current InstCombine behavior for clamp pattern.
ClosedPublic

Authored by a.elovikov on Jun 19 2017, 8:00 AM.

Details

Summary

This commit adds the tests for clamp pattern as a prerequisite of
D33186 to make the impact of that fix more clear and also to document
current behavior.

Event Timeline

a.elovikov created this revision.Jun 19 2017, 8:00 AM
spatel accepted this revision.Jun 19 2017, 1:22 PM

LGTM.

This revision is now accepted and ready to land.Jun 19 2017, 1:22 PM

Do you need someone to commit this for you?

Do you need someone to commit this for you?

@n.bozhenov will commit it for me. However, I'm waiting for the D33186 to finish before committing this.

This revision was automatically updated to reflect the committed changes.