This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Handle all-ones mask explicitly in targetShrinkDemandedConstant.
ClosedPublic

Authored by efriedma on Aug 21 2018, 3:11 PM.

Details

Summary

This avoids a potential infinite loop setting and unsetting bits in the mask.

Testcase reduced from a failure on the polly-aosp bot.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma created this revision.Aug 21 2018, 3:11 PM
This revision is now accepted and ready to land.Aug 21 2018, 11:40 PM
This revision was automatically updated to reflect the committed changes.