This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Remove redundant computeKnownBits helper.
ClosedPublic

Authored by efriedma on Apr 6 2017, 4:20 PM.

Details

Summary

Move the BFI logic to computeKnownBitsForTargetNode, and delete the redundant CMOV logic.

This is intended as a cleanup, but it's probably possible to construct a case where moving the BFI logic allows more combines.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma created this revision.Apr 6 2017, 4:20 PM
jmolloy accepted this revision.Apr 7 2017, 12:10 AM

Nice cleanup, thanks!

This revision is now accepted and ready to land.Apr 7 2017, 12:10 AM
This revision was automatically updated to reflect the committed changes.