From: Chuanqi Xu Date: Thu, 30 Jun 2022 03:37:28 +0000 (+0800) Subject: [Coroutines] Add REQUIRES clause to skip unsupported targets X-Git-Tag: upstream/15.0.7~3070 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a567c60f2c873c147a68ba084f091bd7f020217;p=platform%2Fupstream%2Fllvm.git [Coroutines] Add REQUIRES clause to skip unsupported targets --- diff --git a/llvm/test/Transforms/Coroutines/coro-split-musttail8.ll b/llvm/test/Transforms/Coroutines/coro-split-musttail8.ll index 1265adb..eff763c 100644 --- a/llvm/test/Transforms/Coroutines/coro-split-musttail8.ll +++ b/llvm/test/Transforms/Coroutines/coro-split-musttail8.ll @@ -1,3 +1,5 @@ +; REQUIRES: webassembly-registered-target +; ; Tests that we wouldn't convert coro.resume to a musttail call if the target is ; Wasm32. ; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s diff --git a/llvm/test/Transforms/Coroutines/coro-split-musttail9.ll b/llvm/test/Transforms/Coroutines/coro-split-musttail9.ll index 6466d13..ad1d9ea 100644 --- a/llvm/test/Transforms/Coroutines/coro-split-musttail9.ll +++ b/llvm/test/Transforms/Coroutines/coro-split-musttail9.ll @@ -1,3 +1,5 @@ +; REQUIRES: webassembly-registered-target +; ; Tests that we wouldn't convert coro.resume to a musttail call if the target is ; Wasm64. ; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s