This is an archive of the discontinued LLVM Phabricator instance.

Support: Add specializations for reverseBits to use builtin
ClosedPublic

Authored by arsenm on Apr 3 2020, 9:22 AM.

Diff Detail

Event Timeline

arsenm created this revision.Apr 3 2020, 9:22 AM
aaron.ballman accepted this revision.Apr 3 2020, 10:30 AM

This LGTM, but I'm not certain how we could add test coverage for the change. Maybe this is sufficiently obvious to be okay without it, though.

This revision is now accepted and ready to land.Apr 3 2020, 10:30 AM

This LGTM, but I'm not certain how we could add test coverage for the change. Maybe this is sufficiently obvious to be okay without it, though.

It's already covered by unit tests

This LGTM, but I'm not certain how we could add test coverage for the change. Maybe this is sufficiently obvious to be okay without it, though.

It's already covered by unit tests

That's true -- I was thinking in terms of checking use of the fallback vs the builtin, but I suppose we don't care which gets used, just that the results are correct. LGTM fully now.