Page MenuHomePhabricator

[MLIR] CtPop and BitReverse in LLVMIR and Standard (with lowering), and Cttz in LLVMIR
Changes PlannedPublic

Authored by shawnl on Wed, Jul 8, 8:20 AM.

Details

Summary

Implement and test CtPop and BitReverse in standard, with lowering to LLVM. Test LLVM's cttz.

The cttz lowering is a bit tricky, as the second argument must be set to i1 0,
so that waits until later.

Diff Detail

Event Timeline

shawnl created this revision.Wed, Jul 8, 8:20 AM

Please start an RFC on Discourse for any addition to the standard dialect. Thanks!

shawnl edited the summary of this revision. (Show Details)Wed, Jul 8, 10:14 AM
shawnl planned changes to this revision.Fri, Jul 10, 9:44 AM