llvm-project/mlir/test/mlir-opt
Chuanqi Xu c75cedc237 [Coroutines] Set presplit attribute in Clang and mlir
This fixes bug49264.

Simply, coroutine shouldn't be inlined before CoroSplit. And the marker
for pre-splited coroutine is created in CoroEarly pass, which ran after
AlwaysInliner Pass in O0 pipeline. So that the AlwaysInliner couldn't
detect it shouldn't inline a coroutine. So here is the error.

This patch set the presplit attribute in clang and mlir. So the inliner
would always detect the attribute before splitting.

Reviewed By: rjmccall, ezhulenev

Differential Revision: https://reviews.llvm.org/D115790
2022-01-05 10:25:02 +08:00
..
async.mlir [Coroutines] Set presplit attribute in Clang and mlir 2022-01-05 10:25:02 +08:00
commandline.mlir [mlir] Move memref.[tensor_load|buffer_cast|clone] to "bufferization" dialect. 2021-11-25 11:50:39 +01:00
nearmiss.mlir [mlir] Flag near misses in file splitting 2021-12-12 08:03:30 -08:00
outputfile.mlir Keep output file after successful execution of mlir-opt 2020-04-08 03:37:45 +00:00