Summary:
Reviewers: atanasyan
Subscribers: cfe-commits, sdardis
Differential Revision: http://reviews.llvm.org/D20963
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271877
91177308-0d34-0410-b5e6-
96231b3b80d8
.Case("mips64r5", true)
.Case("mips64r6", true)
.Case("octeon", true)
- .Case("p5600", true)
+ .Case("p5600", !GPR64Required)
.Default(false);
}
const std::string& getCPU() const { return CPU; }
// MIPS-ARCH-P5600: "-target-cpu" "p5600"
// MIPS-ARCH-P5600: "-target-abi" "o32"
//
+// RUN: not %clang -target mips-linux-gnu -c %s \
+// RUN: -march=p5600 -mabi=64 2>&1 \
+// RUN: | FileCheck -check-prefix=MIPS-ARCH-P5600-N64 %s
+// MIPS-ARCH-P5600-N64: error: unknown target ABI 'n64'
+//
// RUN: %clang -target mips-linux-gnu -### -c %s \
// RUN: -march=mips64 2>&1 \
// RUN: | FileCheck -check-prefix=MIPS-ARCH-3264 %s