- Jul 28, 2012
-
-
Eric Christopher authored
all tests accordingly. Fixes PR13351. Patch by shinichiro hamaji! llvm-svn: 160899
-
- Jul 27, 2012
-
-
Jakob Stoklund Olesen authored
llvm-svn: 160898
-
Chad Rosier authored
llvm-svn: 160897
-
Dmitri Gribenko authored
arguments. Just an optimization, no functional change. llvm-svn: 160896
-
Fariborz Jahanian authored
llvm-svn: 160895
-
Evan Cheng authored
into predecessor blocks to enable tail call optimization. rdar://11958338 llvm-svn: 160894
-
Jakob Stoklund Olesen authored
A value number is a PHI def if and only if it begins at a block boundary. This can be derived from the def slot, a separate flag is not necessary. llvm-svn: 160893
-
Jakob Stoklund Olesen authored
This option replaces the existing live interval computation with one based on LiveRangeCalc.cpp. The new algorithm does not depend on LiveVariables, and it can be run at any time, before or after leaving SSA form. llvm-svn: 160892
-
Dmitri Gribenko authored
hex: ) during comment parsing. Now internal representation of plain text in comment AST does not contain character references, but the characters themselves. llvm-svn: 160891
-
Dmitri Gribenko authored
llvm-svn: 160890
-
Andrew Kaylor authored
llvm-svn: 160889
-
Jakob Stoklund Olesen authored
Patch by Tyler Nowicki! llvm-svn: 160888
-
Sean Callanan authored
sel_getName() calls are generated for all Objective-C selectors before static literals are moved to the static allocation. This prevents errors of the form Internal error [IRForTarget]: Couldn't change a static reference to an Objective-C selector to a dynamic reference <rdar://problem/11331906> llvm-svn: 160887
-
Hans Wennborg authored
Clang's -Wformat fix-its currently suggest using "%zu" for values of type size_t (in C99 or C++11 mode). However, for a type such as std::vector<T>::size_type, it does not notice that type is actually typedeffed to size_t, and instead suggests a format for the underlying type, such as "%lu" or "%u". This commit makes the format string fix mechanism walk the typedef chain so that it notices if the type is size_t, even if that isn't "at the top". llvm-svn: 160886
-
Anna Zaks authored
Also, fix a subtle bug, which occurred due to lookupPrivateMethod defined in DeclObjC.h not looking up the method inside parent's categories. Note, the code assumes that Class's parent object has the same methods as what's in the Root class of a the hierarchy, which is a heuristic that might not hold for hierarchies which do not descend from NSObject. Would be great to fix this in the future. llvm-svn: 160885
-
Anna Zaks authored
We are currently not setting the self object to the calling class object during inlining nor do we reason about [AAA class]. llvm-svn: 160884
-
Anna Zaks authored
llvm-svn: 160883
-
Benjamin Kramer authored
Also add assertions to validate the iterator in the insert method overloads. llvm-svn: 160882
-
Chad Rosier authored
llvm-svn: 160881
-
Andrew Kaylor authored
llvm-svn: 160880
-
Dylan Noblesmith authored
The __BYTE_ORDER__ predefined macro was added in GCC 4.6: http://gcc.gnu.org/onlinedocs/gcc-4.6.0/cpp/Common-Predefined-Macros.html It's used like the following: #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ ... #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ ... #else #error insane architecture like the pdp-11 #endif There's a similar macro, __FLOAT_WORD_ORDER__, but it looks like it mainly exist to accommodate fairly obscure architectures and ARM's old FPA instructions, so it doesn't seem nearly as useful. The tests are updated to check for the correct(at least, based on clang's current output) value of the macro on each target. So now the suite will catch bugs like the one fixed in r157626. llvm-svn: 160879
-
Nuno Lopes authored
llvm-svn: 160876
-
Dmitry Vyukov authored
llvm-svn: 160875
-
Nuno Lopes authored
This can happen as long as the instruction is not reachable. Instcombine does generate these unreachable malformed selects when doing RAUW llvm-svn: 160874
-
Andrew Kaylor authored
llvm-svn: 160873
-
Arnaud A. de Grandmaison authored
llvm-svn: 160871
-
Dylan Noblesmith authored
llvm-svn: 160866
-
Jakob Stoklund Olesen authored
Move some functions from MCRegisterInfo.h that don't need to be inline. This shrinks llc by 8K. llvm-svn: 160865
-
Sid Manning authored
llvm::report_fatal_error. llvm-svn: 160864
-
Dmitry Vyukov authored
llvm-svn: 160863
-
Dmitry Vyukov authored
llvm-svn: 160861
-
Dmitry Vyukov authored
llvm-svn: 160860
-
Peter Collingbourne authored
llvm-svn: 160857
-
Benjamin Kramer authored
Fix PR13394: Erasing from a vector changes the end of the vector, so make sure we always have the right end. llvm-svn: 160855
-
Benjamin Kramer authored
The rationale here is that it's hard to write loops containing vector erases and it only shows up if the vector contains non-trivial objects leading to crashes when forming them out of garbage memory. llvm-svn: 160854
-
Kostya Serebryany authored
llvm-svn: 160853
-
Craig Topper authored
llvm-svn: 160852
-
NAKAMURA Takumi authored
llvm-svn: 160851
-
NAKAMURA Takumi authored
llvm-svn: 160850
-
NAKAMURA Takumi authored
llvm-svn: 160849
-