From 1c1f7b61b19dcf2f8f6dff01d25eeee7f306129e Mon Sep 17 00:00:00 2001 From: Martin Bohme Date: Thu, 15 Feb 2018 13:50:07 +0000 Subject: [PATCH] Add -no-canonical-prefixes to allow different build modes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325236 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/amdgcn-toolchain-pic.cl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Driver/amdgcn-toolchain-pic.cl b/test/Driver/amdgcn-toolchain-pic.cl index 870f1f3132..fc2978a2f2 100644 --- a/test/Driver/amdgcn-toolchain-pic.cl +++ b/test/Driver/amdgcn-toolchain-pic.cl @@ -1,7 +1,7 @@ -// RUN: %clang -### -target amdgcn-- -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd- -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd-amdhsa -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd-amdpal -mcpu=gfx803 %s 2>&1 | FileCheck %s -// RUN: %clang -### -target amdgcn-amd-mesa3d -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-- -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd- -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd-amdhsa -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd-amdpal -mcpu=gfx803 %s 2>&1 | FileCheck %s +// RUN: %clang -no-canonical-prefixes -### -target amdgcn-amd-mesa3d -mcpu=gfx803 %s 2>&1 | FileCheck %s // CHECK: clang{{.*}} "-mrelocation-model" "pic" "-pic-level" "1" -- 2.40.0