This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] [AsyncToLLVM] Introduces llvm.coro.align intrinsics
ClosedPublic

Authored by ChuanqiXu on Jan 22 2022, 10:18 PM.

Diff Detail

Event Timeline

ChuanqiXu created this revision.Jan 22 2022, 10:18 PM
ChuanqiXu requested review of this revision.Jan 22 2022, 10:18 PM

Is coro.align guaranteed to return a power of 2?

Is coro.align guaranteed to return a power of 2?

Yes, otherwise there would be a fatal error in LLVM.

bkramer accepted this revision.Jan 25 2022, 3:07 AM

Looks good then.

This revision is now accepted and ready to land.Jan 25 2022, 3:07 AM
This revision was automatically updated to reflect the committed changes.