Author: mboehme
Date: Thu Feb 15 05:50:07 2018
New Revision: 325236
URL: http://llvm.org/viewvc/llvm-project?rev=325236&view=rev
Log:
Add -no-canonical-prefixes to allow different build modes.
Modified:
cfe/trunk/test/Driver/amdgcn-toolchain-pic.cl
Modified: cfe/trunk/test/Driver/amdgcn-toolchain-pic.cl
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/amdgcn-toolchain-pic.cl?rev=325236&r1=325235&r2=325236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/amdgcn-toolchain-pic.cl (original)
+++ cfe/trunk/test/Driver/amdgcn-toolchain-pic.cl Thu Feb 15 05:50:07 2018
@@ -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"
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits