[PATCH] D128794: [WebAssembly] Don't set musttail for coroutines is tail call is not enabled

Chuanqi Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 02:29:58 PDT 2022


ChuanqiXu added inline comments.


================
Comment at: llvm/test/Transforms/Coroutines/coro-split-musttail8.ll:3
+; Wasm32.
+; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s
+
----------------
I want another test to show the musttail could be added successfully if we enable tail call for warm. I tried to append `-mattr=tail-call`, `-mattr=+tail-call`. But both of them are failed. Do you have any suggestion here?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128794/new/

https://reviews.llvm.org/D128794



More information about the llvm-commits mailing list