This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Add expect intrinsics.
ClosedPublic

Authored by gysit on May 16 2023, 12:20 AM.

Details

Summary

The revision adds the LLVM expect and expect.with.probability
intrinsics.

Diff Detail

Event Timeline

gysit created this revision.May 16 2023, 12:20 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
gysit requested review of this revision.May 16 2023, 12:20 AM
ftynse accepted this revision.May 16 2023, 12:41 AM
This revision is now accepted and ready to land.May 16 2023, 12:41 AM
gysit updated this revision to Diff 522509.May 16 2023, 2:33 AM

Import the probability of the llvm.expect_with_probablility intrinsic into an attribute.

Dinistro accepted this revision.May 16 2023, 3:43 AM

LGTM!

This revision was automatically updated to reflect the committed changes.