r211999 - [Mips] Fix MIPS ABI name in the test. The name "64" is accepted by both gcc

Simon Atanasyan simon at atanasyan.com
Sun Jun 29 09:51:16 PDT 2014


Author: atanasyan
Date: Sun Jun 29 11:51:16 2014
New Revision: 211999

URL: http://llvm.org/viewvc/llvm-project?rev=211999&view=rev
Log:
[Mips] Fix MIPS ABI name in the test. The name "64" is accepted by both gcc
and Clang drivers but internally LLVM/Clang use the name "n64".

Modified:
    cfe/trunk/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp

Modified: cfe/trunk/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp?rev=211999&r1=211998&r2=211999&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp Sun Jun 29 11:51:16 2014
@@ -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.





More information about the cfe-commits mailing list