This is an archive of the discontinued LLVM Phabricator instance.

[APInt] Remove the And/Or/Xor/Not functions from the APIntOps namespace.
ClosedPublic

Authored by craig.topper on Mar 4 2017, 11:11 PM.

Details

Summary

They aren't used anywhere in tree and its preferable to use the &, |, ^, or ~ operators.

With my patch to add rvalue reference support to &, |, ^ operators it also becomes less performant to use these functions.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 4 2017, 11:11 PM
RKSimon accepted this revision.Mar 5 2017, 8:07 AM

LGTM

This revision is now accepted and ready to land.Mar 5 2017, 8:07 AM
This revision was automatically updated to reflect the committed changes.