]> granicus.if.org Git - clang/commitdiff
[Mips] Fix MIPS ABI name in the test. The name "64" is accepted by both gcc
authorSimon Atanasyan <simon@atanasyan.com>
Sun, 29 Jun 2014 16:51:16 +0000 (16:51 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Sun, 29 Jun 2014 16:51:16 +0000 (16:51 +0000)
and Clang drivers but internally LLVM/Clang use the name "n64".

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211999 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp

index 7c94ea0d54f5951d6ff5d04b032a198d31c3abb5..92e704a0a3090ffdf0f2b920e0e47560c5548afc 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -x c++ -emit-llvm -triple=mips-unknown-linux-gnu < %s | FileCheck --check-prefix=O32 %s
 // RUN: %clang_cc1 -x c++ -emit-llvm -triple=mips64-unknown-linux-gnu -target-abi n32 < %s | FileCheck --check-prefix=N32 %s
-// RUN: %clang_cc1 -x c++ -emit-llvm -triple=mips64-unknown-linux-gnu -target-abi 64 < %s | FileCheck --check-prefix=N64 %s
+// RUN: %clang_cc1 -x c++ -emit-llvm -triple=mips64-unknown-linux-gnu -target-abi n64 < %s | FileCheck --check-prefix=N64 %s
 
 // Test that the size_t is correct for the ABI. It's not sufficient to be the
 // correct size, it must be the same type for correct name mangling.