[clang] 8b62f19 - [Driver][RISCV] Add missing rv64 test case

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 23 22:53:48 PST 2022


Author: eopXD
Date: 2022-02-23T22:53:42-08:00
New Revision: 8b62f19f27d4152e2ba0e329261fbe2a964f9950

URL: https://github.com/llvm/llvm-project/commit/8b62f19f27d4152e2ba0e329261fbe2a964f9950
DIFF: https://github.com/llvm/llvm-project/commit/8b62f19f27d4152e2ba0e329261fbe2a964f9950.diff

LOG: [Driver][RISCV] Add missing rv64 test case

Add missing test case. Thanks @rogfer01 for spotting this out.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D120297

Added: 
    

Modified: 
    clang/test/Driver/riscv-default-features.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/riscv-default-features.c b/clang/test/Driver/riscv-default-features.c
index 853e4dbb2fd4b..0bb65d2430d6b 100644
--- a/clang/test/Driver/riscv-default-features.c
+++ b/clang/test/Driver/riscv-default-features.c
@@ -1,4 +1,5 @@
 // RUN: %clang -target riscv32-unknown-elf -S -emit-llvm %s -o - | FileCheck %s -check-prefix=RV32
+// RUN: %clang -target riscv64-unknown-elf -S -emit-llvm %s -o - | FileCheck %s -check-prefix=RV64
 
 // RV32: "target-features"="+a,+c,+m,+relax,-save-restore"
 // RV64: "target-features"="+64bit,+a,+c,+m,+relax,-save-restore"


        


More information about the cfe-commits mailing list