r310615 - [mips] Group all `-mabicalls` related checks in the single place. NFC

Simon Atanasyan via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 10 08:42:31 PDT 2017


Author: atanasyan
Date: Thu Aug 10 08:42:31 2017
New Revision: 310615

URL: http://llvm.org/viewvc/llvm-project?rev=310615&view=rev
Log:
[mips] Group all `-mabicalls` related checks in the single place. NFC

Removed:
    cfe/trunk/test/Driver/mips-longcalls-warning.c
Modified:
    cfe/trunk/test/Driver/mips-abicalls-warning.c

Modified: cfe/trunk/test/Driver/mips-abicalls-warning.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-abicalls-warning.c?rev=310615&r1=310614&r2=310615&view=diff
==============================================================================
--- cfe/trunk/test/Driver/mips-abicalls-warning.c (original)
+++ cfe/trunk/test/Driver/mips-abicalls-warning.c Thu Aug 10 08:42:31 2017
@@ -1,3 +1,9 @@
 // REQUIRES: mips-registered-target
 // RUN: %clang -### -c -target mips64-mti-elf -fno-PIC -mabicalls %s 2>&1 | FileCheck %s
 // CHECK: warning: ignoring '-mabicalls' option as it cannot be used with non position-independent code and the N64 ABI
+
+// RUN: %clang -### -c -target mips-mti-elf -mlong-calls %s 2>&1 | FileCheck -check-prefix=LONGCALL-IMP %s
+// LONGCALL-IMP: warning: ignoring '-mlong-calls' option as it is not currently supported with the implicit usage of -mabicalls
+
+// RUN: %clang -### -c -target mips-mti-elf -mlong-calls -mabicalls %s 2>&1 | FileCheck -check-prefix=LONGCALL-EXP %s
+// LONGCALL-EXP: warning: ignoring '-mlong-calls' option as it is not currently supported with -mabicalls

Removed: cfe/trunk/test/Driver/mips-longcalls-warning.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-longcalls-warning.c?rev=310614&view=auto
==============================================================================
--- cfe/trunk/test/Driver/mips-longcalls-warning.c (original)
+++ cfe/trunk/test/Driver/mips-longcalls-warning.c (removed)
@@ -1,6 +0,0 @@
-// REQUIRES: mips-registered-target
-// RUN: %clang -### -c -target mips-mti-elf -mlong-calls %s 2>&1 | FileCheck -check-prefix=IMPLICIT %s
-// IMPLICIT: warning: ignoring '-mlong-calls' option as it is not currently supported with the implicit usage of -mabicalls
-
-// RUN: %clang -### -c -target mips-mti-elf -mlong-calls -mabicalls %s 2>&1 | FileCheck -check-prefix=EXPLICIT %s
-// EXPLICIT: warning: ignoring '-mlong-calls' option as it is not currently supported with -mabicalls




More information about the cfe-commits mailing list