Files
clang-p2996/clang/test/Driver/ve-features.c
Kazushi (Jam) Marukawa b6ce860024 [Driver][VE] Change to enable VPU flag by default
Change to enable VPU flag for VE by default in order to support vector
intrinsics from clang.

Reviewed By: efocht, MaskRay

Differential Revision: https://reviews.llvm.org/D157813
2023-09-01 00:41:38 +09:00

6 lines
286 B
C

// RUN: %clang --target=ve-unknown-linux-gnu -### %s 2>&1 | FileCheck %s -check-prefix=DEFAULT
// RUN: %clang --target=ve-unknown-linux-gnu -### %s -mvevpu -mno-vevpu 2>&1 | FileCheck %s -check-prefix=NO-VEVPU
// DEFAULT: "-target-feature" "+vpu"
// NO-VEVPU: "-target-feature" "-vpu"