summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace Sema-level implementation of -fassume-sane-operator-new with aRichard Smith2016-04-071-6/+6
| | | | | | | | | | | | | | CodeGen-level implementation. Instead of adding an attribute to clang's FunctionDecl, add the IR attribute directly. This means a module built with this flag is now compatible with code built without it and vice versa. This change also results in the 'noalias' attribute no longer being added to calls to operator new in the IR; it's now only added to the declaration. It also fixes a bug where we failed to add the attribute to the 'nothrow' versions (because we didn't implicitly declare them, there was no good time to inject a fake attribute). llvm-svn: 265728
* [MIPS] Re-land the change r238200 to fix extension of integer typesPetar Jovanovic2015-05-261-4/+4
| | | | | | | | Re-land the change r238200, but with modifications in the tests that should prevent new failures in some environments as reported with the original change on the mailing list. llvm-svn: 238253
* Revert r238200: "[MIPS] fix extension of integer types (function calls)"Hans Wennborg2015-05-261-4/+4
| | | | | | mips-unsigned-ext-var.c and mips-unsigned-extend.c fail in some builds. llvm-svn: 238237
* [MIPS] fix extension of integer types (function calls)Petar Jovanovic2015-05-261-4/+4
| | | | | | | | | | On MIPS unsigned int type should not be zero extended but sign-extended. Patch by Strahinja Petrovic. Differential Revision: http://reviews.llvm.org/D9198 llvm-svn: 238200
* [mips] Promote all integral/enumeration types to the GPR widthDaniel Sanders2014-10-241-6/+6
| | | | | | | | | | | | | | | | | | Summary: Ensure all integral/enumeration types are appropriately annotated with signext/zeroext. In particular, i32 now has these attributes when using the N32/N64 ABI. This paves the way for accurately representing the way the N32/N64 ABI's promotes integer arguments to i64. Reviewers: atanasyan Reviewed By: atanasyan Subscribers: cfe-commits, theraven Differential Revision: http://reviews.llvm.org/D5961 llvm-svn: 220563
* [Mips] Fix MIPS ABI name in the test. The name "64" is accepted by both gccSimon Atanasyan2014-06-291-1/+1
| | | | | | and Clang drivers but internally LLVM/Clang use the name "n64". llvm-svn: 211999
* [mips] Correct size_t and ptrdiff_t for N32.Daniel Sanders2014-04-241-0/+49
Summary: Correct size_t to be unsigned int and ptrdiff_t to be signed long. The types were the correct size before this change but the exact type matters for name mangling and exception handling in C++. Reviewers: atanasyan Reviewed By: atanasyan Differential Revision: http://reviews.llvm.org/D3470 llvm-svn: 207093
OpenPOWER on IntegriCloud