r255533 - [PowerPC] Fix make-check issues
Petar Jovanovic via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 14 11:22:36 PST 2015
Author: petarj
Date: Mon Dec 14 13:22:35 2015
New Revision: 255533
URL: http://llvm.org/viewvc/llvm-project?rev=255533&view=rev
Log:
[PowerPC] Fix make-check issues
Previous change r255515 introduced a couple of issues likely caused by
a different configure setup.
Modified:
cfe/trunk/test/CodeGen/ppc-sfvarargs.c
cfe/trunk/test/Driver/ppc-features.cpp
Modified: cfe/trunk/test/CodeGen/ppc-sfvarargs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ppc-sfvarargs.c?rev=255533&r1=255532&r2=255533&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ppc-sfvarargs.c (original)
+++ cfe/trunk/test/CodeGen/ppc-sfvarargs.c Mon Dec 14 13:22:35 2015
@@ -12,6 +12,6 @@ void foo() {
double a;
test("test",a);
}
-// CHECK: %{{[0-9]+}} = add i8 %numUsedRegs, 1
+// CHECK: %{{[0-9]+}} = add i8 %{{[0-9]+}}, 1
// CHECK: %{{[0-9]+}} = and i8 %{{[0-9]+}}, -2
-// CHECK: %{{[0-9]+}} = mul i8 %{{[0-9]+}}, 4
\ No newline at end of file
+// CHECK: %{{[0-9]+}} = mul i8 %{{[0-9]+}}, 4
Modified: cfe/trunk/test/Driver/ppc-features.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/ppc-features.cpp?rev=255533&r1=255532&r2=255533&view=diff
==============================================================================
--- cfe/trunk/test/Driver/ppc-features.cpp (original)
+++ cfe/trunk/test/Driver/ppc-features.cpp Mon Dec 14 13:22:35 2015
@@ -38,23 +38,23 @@
// check -mfloat-abi=x option
// RUN: %clang -target powerpc-unknown-linux-gnu %s -mfloat-abi=x -### -o %t.o 2>&1 | FileCheck --check-prefix=CHECK-ERRMSG %s
-// CHECK-ERRMSG: clang: error: invalid float ABI '-mfloat-abi=x'
+// CHECK-ERRMSG: error: invalid float ABI '-mfloat-abi=x'
// check -msoft-float option for ppc64
// RUN: %clang -target powerpc64-unknown-linux-gnu %s -msoft-float -### -o %t.o 2>&1 | FileCheck --check-prefix=CHECK-SOFTFLOAT64 %s
-// CHECK-SOFTFLOAT64: clang: error: invalid float ABI 'soft float is not supported for ppc64'
+// CHECK-SOFTFLOAT64: error: invalid float ABI 'soft float is not supported for ppc64'
// check -mfloat-abi=soft option for ppc64
// RUN: %clang -target powerpc64-unknown-linux-gnu %s -mfloat-abi=soft -### -o %t.o 2>&1 | FileCheck --check-prefix=CHECK-FLOATABISOFT64 %s
-// CHECK-FLOATABISOFT64: clang: error: invalid float ABI 'soft float is not supported for ppc64'
+// CHECK-FLOATABISOFT64: error: invalid float ABI 'soft float is not supported for ppc64'
// check -msoft-float option for ppc64
// RUN: %clang -target powerpc64le-unknown-linux-gnu %s -msoft-float -### -o %t.o 2>&1 | FileCheck --check-prefix=CHECK-SOFTFLOAT64le %s
-// CHECK-SOFTFLOAT64le: clang: error: invalid float ABI 'soft float is not supported for ppc64'
+// CHECK-SOFTFLOAT64le: error: invalid float ABI 'soft float is not supported for ppc64'
// check -mfloat-abi=soft option for ppc64
// RUN: %clang -target powerpc64le-unknown-linux-gnu %s -mfloat-abi=soft -### -o %t.o 2>&1 | FileCheck --check-prefix=CHECK-FLOATABISOFT64le %s
-// CHECK-FLOATABISOFT64le: clang: error: invalid float ABI 'soft float is not supported for ppc64'
+// CHECK-FLOATABISOFT64le: error: invalid float ABI 'soft float is not supported for ppc64'
// CHECK: invalid argument '-faltivec' only allowed with 'ppc/ppc64/ppc64le'
More information about the cfe-commits
mailing list