aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorYuta Saito <kateinoigakukun@gmail.com>2024-02-20 11:58:44 +0900
committerGitHub <noreply@github.com>2024-02-20 11:58:44 +0900
commit8c5c4d9a63bd0cba7f025431e06f63d032010393 (patch)
tree1bd47eb305656e2d288af12e5cfdab9257e8bdb6 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parent8ac7c4f3c0796d575515e276a1273c550c867051 (diff)
downloadllvm-8c5c4d9a63bd0cba7f025431e06f63d032010393.zip
llvm-8c5c4d9a63bd0cba7f025431e06f63d032010393.tar.gz
llvm-8c5c4d9a63bd0cba7f025431e06f63d032010393.tar.bz2
[Coro][WebAssembly] Add tail-call check for async lowering (#81481)
This patch fixes a verifier error when async lowering is used for WebAssembly target without tail-call feature. This missing check was revealed by b1ac052ab07ea091c90c2b7c89445b2bfcfa42ab, which removed inlining of the musttail'ed call and it started leaving the invalid call at the verification stage. Additionally, `TTI::supportsTailCallFor` did not respect the concrete TTI's `supportsTailCalls` implementation, so it always returned true even though `supportsTailCalls` returned false, so this patch also fixes the wrong CRTP base class implementation.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions