[llvm] 7a567c6 - [Coroutines] Add REQUIRES clause to skip unsupported targets

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 20:38:19 PDT 2022


Author: Chuanqi Xu
Date: 2022-06-30T11:37:41+08:00
New Revision: 7a567c60f2c873c147a68ba084f091bd7f020217

URL: https://github.com/llvm/llvm-project/commit/7a567c60f2c873c147a68ba084f091bd7f020217
DIFF: https://github.com/llvm/llvm-project/commit/7a567c60f2c873c147a68ba084f091bd7f020217.diff

LOG: [Coroutines] Add REQUIRES clause to skip unsupported targets

Added: 
    

Modified: 
    llvm/test/Transforms/Coroutines/coro-split-musttail8.ll
    llvm/test/Transforms/Coroutines/coro-split-musttail9.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Coroutines/coro-split-musttail8.ll b/llvm/test/Transforms/Coroutines/coro-split-musttail8.ll
index 1265adbec7bf..eff763caac13 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 6466d13c5450..ad1d9ea3ab69 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


        


More information about the llvm-commits mailing list