This is an archive of the discontinued LLVM Phabricator instance.

[DAG] Fix and-mask folding when narrowing loads.
ClosedPublic

Authored by niravd on Jun 19 2018, 2:04 PM.

Details

Summary

Check that and masks are strictly smaller than implicit mask from
narrowed load.

Fixes PR37820.

Diff Detail

Repository
rL LLVM

Event Timeline

niravd created this revision.Jun 19 2018, 2:04 PM
samparker accepted this revision.Jun 20 2018, 12:36 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Jun 20 2018, 12:36 AM
This revision was automatically updated to reflect the committed changes.