- Aug 04, 2014
-
-
Joerg Sonnenberger authored
Add one for Greg Clayton, Peter Collingbourne, Tobias Grosser and Jakob Olesen based on recent commits. llvm-svn: 214762
-
David Blaikie authored
Reapply "DebugInfo: Ensure that all debug location scope chains from instructions within a function, lead to the function itself." Originally reverted in r213432 with flakey failures on an ASan self-host build. After reduction it seems to be the same issue fixed in r213805 (ArgPromo + DebugInfo: Handle updating debug info over multiple applications of argument promotion) and r213952 (by having LiveDebugVariables strip dbg_value intrinsics in functions that are not described by debug info). Though I cannot explain why this failure was flakey... llvm-svn: 214761
-
Marshall Clow authored
Fix a problem with reference_wrapper in C++03 that was causing counting predicates to fail. Add a test to make sure it works. However, most of the reference_wrapper tests still fail in C++03 mode, due to a lack of decltype. No change there. llvm-svn: 214760
-
Alex Lorenz authored
llvm-svn: 214759
-
David Blaikie authored
llvm-svn: 214758
-
Alex Lorenz authored
llvm-svn: 214757
-
Matt Arsenault authored
These were just wrong, using the wrong register classes and store2 was missing an operand. llvm-svn: 214756
-
Joerg Sonnenberger authored
systems it represents. llvm-svn: 214755
-
Joerg Sonnenberger authored
llvm-svn: 214754
-
Dan Albert authored
Linux has a lot of failures caused by not having support for certain locales. Since these come out as a lot of noise in the test results, have lit.cfg detect the presence of the various locales used in the tests and add them to config.available_features as locale.LOCALE_NAME. This patch also adds REQUIRES: locale.REQUIRED_LOCALE to every test that I saw failing in this manner. We probably need to add more for all the tests requiring en_US.UTF-8, but we can do that on an as-needed basis. One thing that concerns me is how many tests get skipped because of missing locales (especially in regex/). We should make a point of splitting up any tests that test default behavior _and_ behavior under a given locale so that we aren't losing coverage for default behavior. llvm-svn: 214753
-
Alex Lorenz authored
This patch adds the '-fcoverage-mapping' option which allows clang to generate the coverage mapping information that can be used to provide code coverage analysis using the execution counts obtained from the instrumentation based profiling (-fprofile-instr-generate). llvm-svn: 214752
-
Alex Lorenz authored
This flag will be used by the coverage tool to help compute the execution counts for each line in a source file. Differential Revision: http://reviews.llvm.org/D4746 llvm-svn: 214740
-
Aaron Ballman authored
llvm-svn: 214739
-
Eric Christopher authored
nothing subtarget dependent about the intrinsic support in any backend as far as I can tell. llvm-svn: 214738
-
Justin Bogner authored
path::const_iterator claims that it's a bidirectional iterator, but it doesn't satisfy all of the contracts for a bidirectional iterator. For example, n3376 24.2.5 p6 says "If a and b are both dereferenceable, then a == b if and only if *a and *b are bound to the same object", but this doesn't work with how we stash and recreate Components. This means that our use of reverse_iterator on this type is invalid and leads to many of the valgrind errors we're hitting, as explained by Tilmann Scheller here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140728/228654.html Instead, we admit that path::const_iterator is only an input_iterator, and implement a second input_iterator for path::reverse_iterator (by changing const_iterator::operator-- to reverse_iterator::operator++). All of the uses of this just traverse once over the path in one direction or the other anyway. llvm-svn: 214737
-
Marshall Clow authored
Fix PR#202520 - predicate called too many times in list::remove_if. Add tests for list, forward_list, and the std::remove_if algorithm llvm-svn: 214736
-
Olivier Goffart authored
llvm-svn: 214735
-
Olivier Goffart authored
This is a regression from clang 3.4 Set the result to ExprError and returns true, rather than simply returns false because errors have been reported already and returning false show a confusing error llvm-svn: 214734
-
Joerg Sonnenberger authored
llvm-svn: 214733
-
Akira Hatanaka authored
This corrects r214672, which was committed to silence a gcc warning. llvm-svn: 214732
-
Joerg Sonnenberger authored
llvm-svn: 214731
-
Aaron Ballman authored
Diagnose GNU-style attributes preceding virt-specifiers, but only when the attribute is known to GCC. Clang accepts attributes in this position, but GCC does not, so this is a GCC-compat warning. If the attribute is not known to GCC, then the diagnostic is suppressed. llvm-svn: 214730
-
Matt Arsenault authored
llvm-svn: 214729
-
Matt Arsenault authored
llvm-svn: 214728
-
Eric Christopher authored
allow us to forward all of the standard TargetMachine calls to the subtarget and still return null as we were before. llvm-svn: 214727
-
Dan Albert authored
llvm-svn: 214726
-
DeLesley Hutchins authored
capability expressions of the form !expr, and denote a capability that must not be held. llvm-svn: 214725
-
Joerg Sonnenberger authored
Move the test cases for them into separate files. llvm-svn: 214724
-
Aaron Ballman authored
Highlight the offending function parameter when the format argument refers to an invalid function parameter type. llvm-svn: 214723
-
Aaron Ballman authored
Highlight the offending function parameter when the format_arg argument refers to an invalid function parameter type. llvm-svn: 214722
-
Ulrich Weigand authored
This should hopefully fix build bots on other architectures. llvm-svn: 214721
-
Daniel Jasper authored
Before: Constructor(A... a) : a_(X<A> { std::forward<A>(a) }...) {} After: Constructor(A... a) : a_(X<A>{std::forward<A>(a)}...) {} llvm-svn: 214720
-
Robert Khasanov authored
Instructions: VMOVAPD, VMOVAPS, VMOVDQA8, VMOVDQA16, VMOVDQA32,VMOVDQA64, VMOVDQU8, VMOVDQU16, VMOVDQU32,VMOVDQU64, VMOVUPD, VMOVUPS, Reviewed by Elena Demikhovsky <elena.demikhovsky@intel.com> llvm-svn: 214719
-
Ulrich Weigand authored
In commit r213915, Bill fixed little-endian usage of vmrgh* and vmrgl* by swapping the input arguments. As it turns out, the exact same fix is also required for the vpkuhum/vpkuwum patterns. This fixes another regression in llvmpipe when vector support is enabled. Reviewed by Bill Schmidt. llvm-svn: 214718
-
Aaron Ballman authored
Improving the name of the function parameter, which happens to solve two likely-less-than-useful MSVC warnings: warning C4258: 'I' : definition from the for loop is ignored; the definition from the enclosing scope is used. llvm-svn: 214717
-
Ulrich Weigand authored
I ran into some test failures where common code changed vector division by constant into a multiply-high operation (MULHU). But these are not implemented by the back-end, so we failed to recognize the insn. Fixed by marking MULHU/MULHS as Expand for vector types. llvm-svn: 214716
-
Daniel Sanders authored
llvm-svn: 214715
-
Ulrich Weigand authored
This patch refactors code generation of vector comparisons. This fixes a wrong code-gen bug for ISD::SETGE for floating-point types, and improves generated code for vector comparisons in general. Specifically, the patch moves all logic deciding how to implement vector comparisons into getVCmpInst, which gets two extra boolean outputs indicating to its caller whether its needs to swap the input operands and/or negate the result of the comparison. Apart from implementing these two modifications as directed by getVCmpInst, there is no need to ever implement vector comparisons in any other manner; in particular, there is never a need to perform two separate comparisons (e.g. one for equal and one for greater-than, as code used to do before this patch). Reviewed by Bill Schmidt. llvm-svn: 214714
-
Kostya Serebryany authored
llvm-svn: 214713
-
Simon Atanasyan authored
That reduces a number of `if` operators and prevent a combinatorics explosion if/when more dynamic linker path variants added. No functional changes. llvm-svn: 214712
-