- May 27, 2013
-
-
Richard Smith authored
llvm-svn: 182720
-
- May 26, 2013
-
-
Hal Finkel authored
When expanding unaligned Altivec loads, we use the decremented offset trick to prevent page faults. Unfortunately, if we have a sequence of consecutive unaligned loads, this leads to suboptimal code generation because the 'extra' load from the first unaligned load can be combined with the base load from the second (but only if the decremented offset trick is not used for the first). Search up and down the chain, through loads and token factors, looking for consecutive loads, and if one is found, don't use the offset reduction trick. These duplicate loads are later combined to yield the desired sequence (in the future, we might want a more-powerful chain search, but that will require some changes to allow the combiner routines to access the AA object). This should complete the initial implementation of the optimized unaligned Altivec load expansion. There is some refactoring that should be done, but that will happen when the unaligned store expansion is added. llvm-svn: 182719
-
Kai Nacke authored
llvm-svn: 182718
-
Andrew Trick authored
llvm-svn: 182717
-
Nico Weber authored
Before: @{ NSFontAttributeNameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee : regularFont, }; Now: @{ NSFontAttributeNameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee : regularFont, }; ':'s in dictionary literals (and the corresponding {}s) are now marked as TT_ObjCDictLiteral too, which makes further improvements to dict literal layout possible. llvm-svn: 182716
-
Galina Kistanova authored
llvm-svn: 182715
-
Rui Ueyama authored
llvm-svn: 182714
-
Chris Lattner authored
reject things like: "for (auto Entry : SomeStringMap)". Previously this would copy the value but not the tail allocated string data (the key). llvm-svn: 182713
-
- May 25, 2013
-
-
Cameron Zwarich authored
stream. llvm-svn: 182712
-
Rafael Espindola authored
John noticed that the fix for pr15930 (r181981) didn't handle indirect uses of local types. For example, a pointer to local struct, or a function that returns it. One way to implement this would be to recursively look for local types. This would look a lot like the linkage computation itself for types. To avoid code duplication and utilize the existing linkage cache, this patch just makes the computation of "type with no linkage but externally visible because it is from an inline function" part of the linkage computation itself. llvm-svn: 182711
-
Eric Christopher authored
llvm-svn: 182710
-
Rui Ueyama authored
llvm-svn: 182709
-
Hal Finkel authored
The lvsl permutation control instruction is a function only of the alignment of the pointer operand (relative to the 16-byte natural alignment of Altivec vectors). As a result, multiple lvsl intrinsics where the operands differ by a multiple of 16 can be combined. llvm-svn: 182708
-
Andrew Trick authored
Unit test cases for -pre-RA-sched=source. llvm-svn: 182706
-
Andrew Trick authored
Remove the old IR ordering mechanism and switch to new one. Fix unit test failures. llvm-svn: 182704
-
Andrew Trick authored
Change SelectionDAG::getXXXNode() interfaces as well as call sites of these functions to pass in SDLoc instead of DebugLoc. llvm-svn: 182703
-
Duncan Sands authored
llvm-svn: 182702
-
Andrew Trick authored
Use a field in the SelectionDAGNode object to track its IR ordering. This adds fields and utility classes without changing existing interfaces or functionality. llvm-svn: 182701
-
Andrew Trick authored
llvm-svn: 182700
-
Argyrios Kyrtzidis authored
When x is empty, x ## is suppressed, and when y gets expanded, the fact that it follows ## is not available in the macro expansion result. The macro definition can be checked instead, the ## will be available there regardless of what x expands to. Fixes http://llvm.org/PR12767 Patch by Harald van Dijk! llvm-svn: 182699
-
Argyrios Kyrtzidis authored
llvm-svn: 182698
-
Michael J. Spencer authored
llvm-svn: 182697
-
Richard Smith authored
rather than assuming it lives in the path. Patch by Eitan Adler! llvm-svn: 182696
-
Argyrios Kyrtzidis authored
Suggested by Jordan. llvm-svn: 182695
-
Nico Weber authored
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1905.pdf 18.7p3 explicitly calls this (and some other things) out as undefined. Also move 2 other existing warnings behind the new -Wvarargs flag. llvm-svn: 182694
-
Eric Christopher authored
llvm-svn: 182693
-
Eric Christopher authored
Add a stringize method to make dumping a bit easier, and add a testcase exercising a few different paths. llvm-svn: 182692
-
Hal Finkel authored
Altivec only directly supports aligned loads, but the loads have a strange property: If given an unaligned address, they truncate the address to the next lower aligned address, and load from there. This property, along with an extra load and some special-purpose permutation-control instructions that generate the appropriate permutations from the original unaligned address, allow efficient lowering of aligned loads. This code uses the trick explained in the Apple Velocity Engine optimization overview document to prevent the needed extra load from possibly causing a page fault if the original address happens to be aligned. As noted in the FIXMEs, there are several additional optimizations that can be performed to reduce the cost of these loads even more. These will be implemented in future commits. llvm-svn: 182691
-
Michael J. Spencer authored
llvm-svn: 182690
-
Jim Grosbach authored
llvm-svn: 182689
-
Quentin Colombet authored
- Ressurect old MCDisassemble API to soften transition. - Extend MCTargetDesc to set target specific symbolizer. llvm-svn: 182688
-
Filipe Cabecinhas authored
llvm-svn: 182687
-
Michael Gottesman authored
llvm-svn: 182686
-
Michael Gottesman authored
llvm-svn: 182685
-
Benjamin Kramer authored
Otherwise ZB_Max returns a wrong result when sizeof(T) > sizeof(size_t). llvm-svn: 182684
-
Filipe Cabecinhas authored
llvm-svn: 182683
-
Argyrios Kyrtzidis authored
llvm-svn: 182682
-
Argyrios Kyrtzidis authored
This is to address crash in rdar://13932308 llvm-svn: 182681
-
Michael J. Spencer authored
llvm-svn: 182680
-
Michael J. Spencer authored
llvm-svn: 182679
-