This is an archive of the discontinued LLVM Phabricator instance.

NFC: Test folding of F08 bit population count intrinsics
ClosedPublic

Authored by tarunprabhu on Jul 12 2022, 5:55 PM.

Details

Summary

This patch tests the leadz, trailz, popcnt and poppar F08 intrinsics for the case where the operand to the intrinsics is a compile-time constant.

Essentially, this checks if the value is folded correctly in that case.

Diff Detail

Event Timeline

tarunprabhu created this revision.Jul 12 2022, 5:55 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
tarunprabhu requested review of this revision.Jul 12 2022, 5:55 PM
jeanPerier accepted this revision.Jul 13 2022, 3:50 AM

Thanks

This revision is now accepted and ready to land.Jul 13 2022, 3:50 AM