Simon Dardis | 31636a1 | 2017-07-20 14:04:12 +0000 | [diff] [blame^] | 1 | // REQUIRES: mips-registered-target |
2 | // RUN: %clang -### -c -target mips-mti-elf %s -mgpopt 2>&1 | FileCheck -check-prefix=IMPLICIT %s | ||||
3 | // IMPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with the implicit usage of-mabicalls | ||||
4 | |||||
5 | // RUN: %clang -### -c -target mips-mti-elf %s -mgpopt -mabicalls 2>&1 | FileCheck -check-prefix=EXPLICIT %s | ||||
6 | // EXPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with -mabicalls |