[Coroutines] Add REQUIRES clause to skip unsupported targets
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Thu, 30 Jun 2022 03:37:28 +0000 (11:37 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Thu, 30 Jun 2022 03:37:41 +0000 (11:37 +0800)
llvm/test/Transforms/Coroutines/coro-split-musttail8.ll
llvm/test/Transforms/Coroutines/coro-split-musttail9.ll

index 1265adb..eff763c 100644 (file)
@@ -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
index 6466d13..ad1d9ea 100644 (file)
@@ -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