diff --git a/flang/test/Driver/emit-asm-from-mlir.mlir b/flang/test/Driver/emit-asm-from-mlir.mlir --- a/flang/test/Driver/emit-asm-from-mlir.mlir +++ b/flang/test/Driver/emit-asm-from-mlir.mlir @@ -1,3 +1,6 @@ +// REQUIRES: aarch64-registered-target || x86-registered-target || arm-registered-target +// Above restricts the test to those architectures that match "ret" to return +// from a function. // Verify that the driver can consume MLIR/FIR files. // RUN: %flang_fc1 -S %s -o - | FileCheck %s