This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Make ctlz/cttz cheap to speculatively execute so CodeGenPrepare won't insert a zero check.
ClosedPublic

Authored by craig.topper on Nov 8 2020, 1:55 PM.

Diff Detail

Event Timeline

craig.topper created this revision.Nov 8 2020, 1:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 8 2020, 1:55 PM
craig.topper requested review of this revision.Nov 8 2020, 1:55 PM
lenary accepted this revision.Nov 9 2020, 1:57 AM

LGTM!

This revision is now accepted and ready to land.Nov 9 2020, 1:57 AM
This revision was landed with ongoing or failed builds.Nov 9 2020, 10:14 AM
This revision was automatically updated to reflect the committed changes.