This is an archive of the discontinued LLVM Phabricator instance.

[libc] Replace use of `asm` in the GPU code with LIBC_INLINE_ASM
ClosedPublic

Authored by jhuber6 on Jun 6 2023, 11:23 AM.

Details

Summary

We should more consistently use inline assembly using the LIBC wrappers.
It's much safer to mark all of these volatile as well.

Diff Detail

Event Timeline

jhuber6 created this revision.Jun 6 2023, 11:23 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 6 2023, 11:23 AM
jhuber6 requested review of this revision.Jun 6 2023, 11:23 AM
lntue accepted this revision.Jun 6 2023, 11:28 AM
This revision is now accepted and ready to land.Jun 6 2023, 11:28 AM