This is an archive of the discontinued LLVM Phabricator instance.

[NVGPUToNVVM] Prevent emitting invalid ptx opcode in async.cp lowering
AbandonedPublic

Authored by nicolasvasilache on Apr 16 2023, 12:36 AM.

Details

Summary

When emitting inline assembly make sure we don't emit invalid ptx opcode

Diff Detail

Event Timeline

ThomasRaoux created this revision.Apr 16 2023, 12:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2023, 12:36 AM
ThomasRaoux requested review of this revision.Apr 16 2023, 12:36 AM
bondhugula added inline comments.
mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
371

Please add a comment.

391

bypassL1 ? ... : ... should do.

mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
303

Should this be lvm or llvm?

nicolasvasilache commandeered this revision.Apr 18 2023, 5:02 AM
nicolasvasilache edited reviewers, added: ThomasRaoux; removed: nicolasvasilache.

Similar functionality landed in https://reviews.llvm.org/D148604

nicolasvasilache abandoned this revision.Apr 18 2023, 5:02 AM