- Apr 29, 2015
-
-
Andrey Churbanov authored
llvm-svn: 236105
-
Bradley Smith authored
This issue was fixed elsewhere in r235396 in a more general way, hence these changes no longer do anything. Keep the testcase however, to ensure that we don't regress this for ARM. llvm-svn: 236104
-
Vasileios Kalintiris authored
Summary: Allow Mips fast-isel to handle functions which return i8/i16 signed/unsigned. Test Plan: Make check tests are forthcoming. Already passes test-suite at O0/O2 for Mips 32 r1/r2 Reviewers: dsanders, rkotler Subscribers: llvm-commits, rfuhler Differential Revision: http://reviews.llvm.org/D6765 llvm-svn: 236103
-
Rafael Espindola authored
llvm-svn: 236102
-
Renato Golin authored
This partially reverts commit r236056, as the two tests were using the same names and, when executed in parallel, were having intermittent failures. llvm-svn: 236101
-
Daniel Jasper authored
In Objective-C some style guides use a style where assignment operators are aligned, in an effort to increase code readability. This patch adds an option to the format library which allows this functionality. It is disabled by default for all the included styles, so it must be explicitly enabled. The option will change code such as: - (void)method { NSNumber *one = @1; NSNumber *twentyFive = @25; } to: - (void)method { NSNumber *one = @1; NSNumber *twentyFive = @25; } Patch by Matt Oakes. Thank you! Accidentally reformatted all the tests... llvm-svn: 236100 -
Daniel Sanders authored
Summary: The existing code was correct for 32-bit GPR's but not 64-bit GPR's. It now accounts for both cases. Reviewers: vkalintiris Reviewed By: vkalintiris Subscribers: llvm-commits, mohit.bhakkad, sagar Differential Revision: http://reviews.llvm.org/D9337 llvm-svn: 236099
-
Omair Javaid authored
This code is also an import from MacOSx implementation as SysV abi is similar to what has been implemented for MacOS but may require a few tweaks. http://reviews.llvm.org/D8538 llvm-svn: 236098
-
Omair Javaid authored
Its mostly imported from MacOSx ABI for arm which is similar. Further tweaking a updates may be required at a later stage. http://reviews.llvm.org/D8539 llvm-svn: 236097
-
Toma Tabacu authored
Summary: Do the assemble-time shifts from createLShiftOri at the source, which groups all the shifting together, closer to the main logic path, and store the results in concisely-named variables to improve code clarity. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8973 llvm-svn: 236096
-
Aidan Dodds authored
llvm-svn: 236095
-
Elena Demikhovsky authored
llvm-svn: 236093
-
Elena Demikhovsky authored
llvm-svn: 236092
-
Daniel Jasper authored
Buggy case: someFunction( [] { // comment int i; // invoke formatting here. }, // force line break aaa); llvm-svn: 236091 -
Hafiz Abid Qadeer authored
This command is able to list both local variables and stack arguments for a specific thread/frame. Args are denoted with 'arg="1"'. Patch from Chuck Ries. llvm-svn: 236090
-
Craig Topper authored
llvm-svn: 236089
-
Craig Topper authored
llvm-svn: 236088
-
Craig Topper authored
[TableGen] Replace some dyn_casts followed by an assert with just a regular cast which asserts internally. NFC llvm-svn: 236087
-
Elena Demikhovsky authored
llvm-svn: 236086
-
Alexey Bataev authored
llvm-svn: 236084
-
Craig Topper authored
llvm-svn: 236083
-
Nico Weber authored
llvm-svn: 236082
-
Hans Wennborg authored
Follow-up to r236077. llvm-svn: 236081
-
Filipe Cabecinhas authored
llvm-svn: 236080
-
Filipe Cabecinhas authored
Same as r236073 but for PointerType. Bug found with AFL fuzz. llvm-svn: 236079
-
Filipe Cabecinhas authored
ArrayType and StructType accept the same types, so no test. llvm-svn: 236078
-
Hans Wennborg authored
It doesn't have a maintainer and none of the release testers test it, so I don't think it should be part of the release. http://reviews.llvm.org/D9331 llvm-svn: 236077
-
Filipe Cabecinhas authored
Bug found with AFL fuzz. llvm-svn: 236076
-
Richard Trieu authored
-Wpessimizing-move warns when a call to std::move would prevent copy elision if the argument was not wrapped in a call. This happens when moving a local variable in a return statement when the variable is the same type as the return type or using a move to create a new object from a temporary object. -Wredundant-move warns when an implicit move would already be made, so the std::move call is not needed, such as when moving a local variable in a return that is different from the return type. Differential Revision: http://reviews.llvm.org/D7633 llvm-svn: 236075
-
Lang Hames authored
resolver with a diagnostic instread. llvm-svn: 236074
-
Filipe Cabecinhas authored
Bug found with AFL fuzz. llvm-svn: 236073
-
Richard Smith authored
PR20625: Instantiate static constexpr member function of a local struct in a function template earlier. This is necessary in order to allow the use of a constexpr member function, or a member function with deduced return type, of a local class within a surrounding instantiated function template specialization. Patch by Michael Park! llvm-svn: 236063
-
Matthias Braun authored
llvm-svn: 236062
-
Hans Wennborg authored
These haven't done anything since before r142165. llvm-svn: 236061
-
Eric Christopher authored
for ARM while the backend will only ignore them. No functional change intended. llvm-svn: 236060
-
Adrian Prantl authored
in the debug info. This patch deletes a hack that emits the members of local anonymous unions as local variables. Besides being morally wrong, the existing representation using local variables breaks internal assumptions about the local variables' storage size. Compiling ``` void fn1() { union { int i; char c; }; i = c; } ``` with -g -O3 -verify will cause the verifier to fail after SROA splits the 32-bit storage for the "local variable" c into two pieces because the second piece is clearly outside the 8-bit range that is expected for a variable of type char. Given the choice I'd rather fix the debug representation than weaken the verifier. Debuggers generally already know how to deal with anonymous unions when they are members of C++ record types, but they may have problems finding the local anonymous struct members in the expression evaluator. rdar://problem/20730771 llvm-svn: 236059 -
Rafael Espindola authored
llvm-svn: 236058
-
Reid Kleckner authored
llvm-svn: 236057
-
Eric Christopher authored
Patch by Teresa Johnson. llvm-svn: 236056
-
Eric Christopher authored
the profile output from the command line via -fprofile-instr-generate=<path>, where the specified output path/file will be overridden by the LLVM_PROFILE_FILE environment variable. Several changes are made to the runtime to support this: Add a new interface __llvm_profile_override_default_filename that will set the profile output filename, but allows LLVM_PROFILE_FILE to override. This is the interface used by the new option. Refactor the pid-expansion done for LLVM_PROFILE_FILE into a separate routine that can be shared by the various filename setting routines (so that the filename from the option can also use the "%p" syntax). Move the truncation into setFilename, and only truncate if there is a new filename specified (to maintain support for appending to the same profile file in the case of multiple shared objects built with profiling). Move the handling for a NULL filename passed to __llvm_profile_set_filename and __llvm_profile_override_default_filename into the new setFilenamePossiblyWithPid routine. This now correctly resets the output file to default.profraw instead of NULL. The handling for a null LLVM_PROFILE_FILE (which should not reset) is done by caller setFilenameFromEnvironment. Patch by Teresa Johnson. llvm-svn: 236055
-