This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][M68k] Replace fixed size BitVector with std::bittest.
ClosedPublic

Authored by craig.topper on Aug 25 2022, 10:11 AM.

Details

Summary

Saves a heap allocation and avoids an explicit call to the BitVector constructor.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 25 2022, 10:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 10:11 AM
craig.topper requested review of this revision.Aug 25 2022, 10:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 10:11 AM

Upload complete patch.

myhsu accepted this revision.Aug 25 2022, 11:29 AM

LGTM on 68k side.
Thanks for fixing.

This revision is now accepted and ready to land.Aug 25 2022, 11:29 AM

typo in the title: std::bittest -> std::bitset

reames accepted this revision.Aug 25 2022, 11:40 AM

LGTM