This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombine] Make sure we check the ResNo from UADDO before combining
ClosedPublic

Authored by deadalnix on Jun 11 2017, 4:26 AM.

Details

Summary

UADDO has 2 result, and one must check the result no before doing any kind of combine. Without it, the transform is invalid.

Event Timeline

deadalnix created this revision.Jun 11 2017, 4:26 AM
joerg edited edge metadata.Jun 11 2017, 4:28 AM

This fixes the problem in mbedtls, thanks.

This revision was automatically updated to reflect the committed changes.