- Nov 12, 2012
-
-
Richard Smith authored
internal linkage, no uses, trivial construction, and nontrivial destruction were not emitted. llvm-svn: 167756
-
Chad Rosier authored
llvm-svn: 167755
-
Chad Rosier authored
defined as an internal software error. This notifies the driver to report diagnostics information. rdar://11951540 llvm-svn: 167754
-
Andrew Trick authored
llvm-svn: 167753
-
rdar://problem/12153915Greg Clayton authored
When uniquing classes against one another we can't depend on any or all of the artificial functions (default ctor, dtor, copy ctor, move ctor, etc) being in each definition. Now we treat those separately and handle those to the best of our ability. llvm-svn: 167752
-
Filipe Cabecinhas authored
llvm-svn: 167751
-
Hal Finkel authored
The old checking code, which assumed that input shuffles and insert-elements could always be folded (and thus were free) is too simple. This can only happen in special circumstances. Using the simple check caused infinite recursion. llvm-svn: 167750
-
Ted Kremenek authored
Per discussion on cfe-dev, re-enable suppression of -Wimplicit-fallthrough on C, but also include dialects of C++ earlier than C++11. There was enough consensus that we *can* get a good language solution to have an annotation outside of C++11, and without this annotation this warning doesn't quite mean's completeness criteria for this kind of warning. For now, restrict this warning to C++11 (where an annotation exists), and make this the behavior for the LLVM 3.2 release. Afterwards, we will hammer out a language solution that we are all happy with. llvm-svn: 167749
-
Bill Wendling authored
llvm-svn: 167748
-
Daniel Malea authored
- Add missing operator= definition for DelayedAddObjCClassProperty - needed to be compatible with libstdc++ vector implementation llvm-svn: 167747
-
Andrew Trick authored
Uses the infrastructure from r167742 to support clustering instructure that the target processor can "fuse". e.g. cmp+jmp. Next step: target hook implementations with test cases, and enable. llvm-svn: 167744
-
Hal Finkel authored
The pass would previously assert when trying to compute the cost of compare instructions with illegal vector types (like struct pointers). llvm-svn: 167743
-
Andrew Trick authored
This infrastructure is generally useful for any target that wants to strongly prefer two instructions to be adjacent after scheduling. A following checkin will add target-specific hooks with unit tests. Then this feature will be enabled by default with misched. llvm-svn: 167742
-
Chad Rosier authored
temporary files are removed. rdar://12282296 llvm-svn: 167741
-
rdar://12571717Shuxin Yang authored
The assertion is trigged when the Reassociater tries to transform expression ... + 2 * n * 3 + 2 * m + ... into: ... + 2 * (n*3 + m). In the process of the transformation, a helper routine folds the constant 2*3 into 6, confusing optimizer which is trying the to eliminate the common factor 2, and cannot find 2 any more. Review is pending. But I'd like commit first in order to help those who are waiting for this fix. llvm-svn: 167740
-
David Blaikie authored
Post-commit review feedback by Eli Friedman. llvm-svn: 167739
-
Andrew Trick authored
This adds support for weak DAG edges to the general scheduling infrastructure in preparation for MachineScheduler support for heuristics based on weak edges. llvm-svn: 167738
-
Ulrich Weigand authored
llvm-svn: 167737
-
David Blaikie authored
Patch by Florent Bruneau! llvm-svn: 167736
-
Bill Wendling authored
llvm-svn: 167735
-
Nadav Rotem authored
llvm-svn: 167734
-
http://llvm.org/bugs/show_bug.cgi?id=14312Howard Hinnant authored
Wen-Han Gu: Fix for http://llvm.org/bugs/show_bug.cgi?id=14312 Exception Table out-of-range but still keep walking. llvm-svn: 167733
-
Sean Callanan authored
llvm-svn: 167732
-
Hal Finkel authored
This fixes a bug where shuffles were being fused such that the resulting input types were not legal on the target. This would occur only when both inputs and dependencies were also foldable operations (such as other shuffles) and there were other connected pairs in the same block. llvm-svn: 167731
-
Alexander Potapenko authored
llvm-svn: 167730
-
Alexey Samsonov authored
llvm-svn: 167729
-
Alexey Samsonov authored
Fixup for r167558: Store raw pointer (instead of reference) to RelocMap in DIContext. This is needed to prevent crashes because of dangling reference if the clients don't provide RelocMap to DIContext constructor. llvm-svn: 167728
-
Alexey Samsonov authored
llvm-svn: 167727
-
Meador Inge authored
The library call simplifier folds memcmp calls with all constant arguments to a constant. For example: memcmp("foo", "foo", 3) -> 0 memcmp("hel", "foo", 3) -> 1 memcmp("foo", "hel", 3) -> -1 The folding is implemented in terms of the system memcmp that LLVM gets linked with. It currently just blindly uses the value returned from the system memcmp as the folded constant. This patch normalizes the values returned from the system memcmp to (-1, 0, 1) so that we get consistent results across multiple platforms. The test cases were adjusted accordingly. llvm-svn: 167726
-
Alexey Samsonov authored
[ASan]: Add minimalistic support for turning off initialization-order checking for globals of specified types. Tests for this behavior will go to ASan test suite in compiler-rt. llvm-svn: 167725
-
Gabor Greif authored
do not play preprocessor tricks with 'private', use public interfaces instead; this appeases the VC++ buildbots llvm-svn: 167724
-
Alexander Potapenko authored
This is the second and last (2/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. llvm-svn: 167723
-
Alexander Potapenko authored
This is the first (1/2) part of a change that moves llvm-symbolizer to llvm/tools/, which will allow to build it with both cmake and configure+make. llvm-svn: 167722
-
Alexander Potapenko authored
The change has been caused by the switch to llvm-symbolizer, that prints inlined stack frames. This should fix PR 14251 llvm-svn: 167721
-
Gabor Greif authored
llvm-svn: 167720
-
Eric Christopher authored
llvm-svn: 167719
-
Michael Liao authored
- Fix operand order for atomic sub, where the minuend is the value loaded from memory and the subtrahend is the parameter specified. llvm-svn: 167718
-
Bill Wendling authored
The 'a', 'c', and 'd' constraints on i386 mean a 32-bit register. We cannot place a 64-bit value into the 32-bit register. Error out instead of causing the compiler to spew general badness. <rdar://problem/12415959> llvm-svn: 167717
-
Craig Topper authored
llvm-svn: 167716
-
Rafael Espindola authored
now covered by attribute merging. llvm-svn: 167714
-