From 70474dfebcd9babf2e3af5fb002b40417fd6cf88 Mon Sep 17 00:00:00 2001 From: "Kazushi (Jam) Marukawa" Date: Sat, 5 Dec 2020 08:41:46 +0900 Subject: [PATCH] [VE][compiler-rt] Add VE as a target of crt SX Aurora VE is an experimental target. We upstreamed many part of ported llvm and clang. In order to continue this move, we need to support libraries next, then we need to show the ability of llvm for VE through test cases. As a first step for that, we need to use crt in compiler-rt. VE has it's own crt but they are a part of proprietary compiler. So, we want to use crt in compiler-rt as an alternative. This patch enables VE as a candidate of crt in compiler-rt. Reviewed By: phosek, compnerd Differential Revision: https://reviews.llvm.org/D92748 --- compiler-rt/cmake/config-ix.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake index d13e75e41685..f81b8384cbd5 100644 --- a/compiler-rt/cmake/config-ix.cmake +++ b/compiler-rt/cmake/config-ix.cmake @@ -287,6 +287,7 @@ set(SPARC sparc) set(SPARCV9 sparcv9) set(WASM32 wasm32) set(WASM64 wasm64) +set(VE ve) if(APPLE) set(ARM64 arm64) @@ -298,7 +299,7 @@ set(ALL_SANITIZER_COMMON_SUPPORTED_ARCH ${X86} ${X86_64} ${PPC64} ${RISCV64} ${ARM32} ${ARM64} ${MIPS32} ${MIPS64} ${S390X} ${SPARC} ${SPARCV9}) set(ALL_ASAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${RISCV64} ${MIPS32} ${MIPS64} ${PPC64} ${S390X} ${SPARC} ${SPARCV9}) -set(ALL_CRT_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${RISCV32} ${RISCV64}) +set(ALL_CRT_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${RISCV32} ${RISCV64} ${VE}) set(ALL_DFSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64}) if(ANDROID)