[clang] 71bf6dd - [Driver][ARM] Fix testcase that should only run on ARM

Victor Campos via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 06:41:28 PDT 2020


Author: Victor Campos
Date: 2020-07-29T14:35:14+01:00
New Revision: 71bf6dd682c03c8c29a365f602f5168d44757abe

URL: https://github.com/llvm/llvm-project/commit/71bf6dd682c03c8c29a365f602f5168d44757abe
DIFF: https://github.com/llvm/llvm-project/commit/71bf6dd682c03c8c29a365f602f5168d44757abe.diff

LOG: [Driver][ARM] Fix testcase that should only run on ARM

Fix testcase introduced in d1a3396bfbc6fd6df927f2864c18d86e742cabff.

Added: 
    

Modified: 
    clang/test/CodeGen/arm-bf16-softfloat.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/arm-bf16-softfloat.c b/clang/test/CodeGen/arm-bf16-softfloat.c
index 3ff4f465223c..1792a1e3c9ce 100644
--- a/clang/test/CodeGen/arm-bf16-softfloat.c
+++ b/clang/test/CodeGen/arm-bf16-softfloat.c
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
 // RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16 -mfloat-abi=soft -c %s -o %t 2>&1 | FileCheck %s
 // RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16 -mfpu=none -c %s -o %t 2>&1 | FileCheck %s
 // RUN: not %clang -target arm-arm-none-eabi -march=armv8-a+bf16+nofp -c %s -o %t 2>&1 | FileCheck %s


        


More information about the cfe-commits mailing list