[clang] 2d670fa - [clang][AArch64] Fix supported extensions test case

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 11 00:51:00 PDT 2023


Author: David Spickett
Date: 2023-09-11T07:50:52Z
New Revision: 2d670fab4c099a3c8e7c257a100f5a34df598ac4

URL: https://github.com/llvm/llvm-project/commit/2d670fab4c099a3c8e7c257a100f5a34df598ac4
DIFF: https://github.com/llvm/llvm-project/commit/2d670fab4c099a3c8e7c257a100f5a34df598ac4.diff

LOG: [clang][AArch64] Fix supported extensions test case

Added in 90db4193f82937bff68c8f8a1481320f245f04ff.
Typo in the if, should have been "riscv-...".

Added: 
    

Modified: 
    clang/test/Driver/print-supported-extensions.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/print-supported-extensions.c b/clang/test/Driver/print-supported-extensions.c
index 2cbd2d95816c22d..dcb4328726ab577 100644
--- a/clang/test/Driver/print-supported-extensions.c
+++ b/clang/test/Driver/print-supported-extensions.c
@@ -5,7 +5,7 @@
 // RUN:   --print-supported-extensions 2>&1 | FileCheck %s --check-prefix AARCH64 %}
 // AARCH64: All available -march extensions for AArch64
 
-// RUN: %if aarch64-registered-target %{ %clang --target=riscv64-linux-gnu \
+// RUN: %if riscv-registered-target %{ %clang --target=riscv64-linux-gnu \
 // RUN:   --print-supported-extensions 2>&1 | FileCheck %s --check-prefix RISCV %}
 // RISCV: All available -march extensions for RISC-V
 


        


More information about the cfe-commits mailing list