summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert part of r253813Martell Malone2015-11-231-7/+0
| | | | | | The new lld gnu frontend does not support the -target option llvm-svn: 253874
* clang-format: Signficantly refactor the cast detection.Daniel Jasper2015-11-231-49/+60
| | | | | | No functional changes intended. llvm-svn: 253873
* clang-format: Fix incorrect cast detection.Daniel Jasper2015-11-232-17/+16
| | | | | | | | | | Before: bool b = f(g<int>)&&c; After: bool b = f(g<int>) && c; llvm-svn: 253872
* clang-format: If the template list of a variable declaration spansDaniel Jasper2015-11-232-1/+3
| | | | | | | | | | | | | | | multiple lines, also break before the variable name. Before: std::vector<aaaaaa, // wrap aa> aaa; After: std::vector<aaaaaa, // wrap aa> aaa; llvm-svn: 253871
* [Support] Fix SaturatingMultiply<T>() to be correct (and fast), Re-enable ↵Nathan Slingerland2015-11-232-6/+72
| | | | | | | | | | | | | | | | | | Unit Tests Summary: This change fixes the SaturatingMultiply<T>() function template to not cause undefined behavior with T=uint16_t. Thanks to Richard Smith's contribution, it also no longer requires an integer division. Patch by Richard Smith. Reviewers: silvas, davidxl Subscribers: rsmith, davidxl, llvm-commits Differential Revision: http://reviews.llvm.org/D14845 llvm-svn: 253870
* Fix Elf_Rel processing for .eh_frame.Rafael Espindola2015-11-232-1/+8
| | | | | | Thanks to Simon for the bug report. llvm-svn: 253869
* SamplePGO - Use newly introduced local variable. NFC.Diego Novillo2015-11-231-2/+2
| | | | llvm-svn: 253868
* [Hexagon] Update instruction formatsKrzysztof Parzyszek2015-11-234-35/+41
| | | | llvm-svn: 253867
* [OPENMP] 'out' dependency for 'task' directives must be the same as 'inout'.Alexey Bataev2015-11-232-5/+4
| | | | | | Runtime library requires, that codegen for 'depend' clause for 'out' dependency kind must be the same as codegen for 'depend' clause with 'inout' dependency. llvm-svn: 253866
* ARM: address WoA division overflow crashMartell Malone2015-11-235-46/+71
| | | | | | | Disable custom handling of signed 32-bit and 64-bit integer divide. Add test cases for both 32-bit and 64-bit integer overflow crashes. llvm-svn: 253865
* [LLDB][MIPS] Getting 0 index for H/W watchpoint is not necessarily an errorMohit K. Bhakkad2015-11-231-2/+2
| | | | | | | | Reviewers: jaydeep. Subscribers: bhushan, sagar, nitesh.jain, lldb-commits. Differential Revision: http://reviews.llvm.org/D14860 llvm-svn: 253864
* [OpenCL 2.0] Apply default address space (AS).Anastasia Stulova2015-11-233-31/+83
| | | | | | | | | | | | If AS of a variable/parameter declaration is not set by the source, OpenCL v2.0 s6.5 defines explicit rules for default ASes: - The AS of global and local static variables defaults to global; - All pointers point to generic AS. http://reviews.llvm.org/D13168 llvm-svn: 253863
* Use SmallVector instead of std::vectorTobias Grosser2015-11-231-1/+1
| | | | | | | | This was proposed as post-commit review comment for commit r253818. Suggested by: Johannes Doerfert <doerfert@cs.uni-saarland.de> llvm-svn: 253862
* Fix clang-format test. I believe that the new behavior is better.Daniel Jasper2015-11-231-1/+1
| | | | llvm-svn: 253861
* clang-format: Make moving of the Cursor work properly when sorting #includes.Daniel Jasper2015-11-234-43/+75
| | | | llvm-svn: 253860
* Fix calculation of shifted cursor/code positions. Specifically supportDaniel Jasper2015-11-232-27/+34
| | | | | | | | | the case where a specific range is replaced by new text. Previously, the calculation would shift any position from within a replaced region to the first character after the region. This is undersirable, e.g. for clang-format's include sorting. llvm-svn: 253859
* [tsan] Modify the tls_race.cc and tls_race2.cc tests to pass on OS XKuba Brecka2015-11-232-5/+8
| | | | | | | | On OS X, __thread variables are lazily heap-allocated (with malloc). Therefore, they're recognized as heap blocks (which is what they are) and not as TLS variables in TSan reports. Figuring out if a heap block is a TLS or not is difficult (in malloc interceptor we could analyze the caller and then mark the object), so let's instead modify the tests so that we expect the report to say "Location is heap block" instead of "Location is TLS". Differential Revision: http://reviews.llvm.org/D14873 llvm-svn: 253858
* [TableGen] Use std::remove_if instead of manually coded loops that called ↵Craig Topper2015-11-231-15/+13
| | | | | | erase inside them. NFC llvm-svn: 253857
* [TableGen] Use empty() instead of checking if size of vector is greater than ↵Craig Topper2015-11-231-1/+2
| | | | | | or equal to 1. llvm-svn: 253856
* [Mips] Remove an unnecessary wrapping of a predicate with std::ptr_fun. NFCCraig Topper2015-11-231-1/+1
| | | | llvm-svn: 253855
* OpenMPClause.h: Fix typos. [-Wdocumentation]NAKAMURA Takumi2015-11-231-3/+3
| | | | llvm-svn: 253854
* [Driver] Mark isForDiagnostics as const. NFC.Vedant Kumar2015-11-231-1/+1
| | | | llvm-svn: 253853
* [PGO] Make InstrProfData.inc available to compiler-rt.Xinliang David Li2015-11-231-0/+257
| | | | | | This will enable a series of cleanup/refactoring. llvm-svn: 253852
* Revert r253846 (build bot failure))Xinliang David Li2015-11-233-19/+1
| | | | llvm-svn: 253851
* [OpenMP] Parsing and sema support for map clause - add test caseKelvin Li2015-11-231-0/+207
| | | | | | http://reviews.llvm.org/D14134 llvm-svn: 253850
* [OpenMP] Parsing and sema support for map clauseKelvin Li2015-11-2321-17/+811
| | | | | | http://reviews.llvm.org/D14134 llvm-svn: 253849
* Move two Value Profiler data structs to InstrProfData.inc (NFC)Xinliang David Li2015-11-232-7/+19
| | | | llvm-svn: 253848
* Fix a bug introduced in cleanupXinliang David Li2015-11-231-1/+1
| | | | llvm-svn: 253847
* Disable frame pointer elimination when using -pgXinliang David Li2015-11-233-1/+19
| | | | | | | | | | | | | | This diff makes sure that the driver does not pass -fomit-frame-pointer or -momit-leaf-frame-pointer to the frontend when -pg is used. Currently, clang gives an error if -fomit-frame-pointer is used in combination with -pg, but -momit-leaf-frame-pointer was forgotten. Also, disable frame pointer elimination in the frontend when -pg is set. Patch by Stefan Kempf. llvm-svn: 253846
* [PGO] Compiler-rt cleanup -- introduces macros for various macrosXinliang David Li2015-11-239-88/+75
| | | | | | | This makes code more readable and be made more portable in the future. There is no functional change. llvm-svn: 253845
* [PGO] Fix remaining bugs in ProfData template file (when used by compiler-rt)Xinliang David Li2015-11-232-17/+17
| | | | | | | | 1. move const qualifier out of raw header field type as runtime use of the header needs to initialze the fields 2. use C style casting for integer types. llvm-svn: 253844
* [MS ABI] Tolerate invokes of __RTDynamicCastDavid Majnemer2015-11-232-1/+21
| | | | | | | | | | | | The pointer returned by __RTDynamicCast must be bitcasted. However, it was not expected that __RTDynamicCast would be invoked, resulting in the bitcast occuring in a different BasicBlock than the invoke. This caused a down-stream PHI to get confused about which BasicBlock the incomming value was from. This fixes PR25606. llvm-svn: 253843
* [Analysis/CallGraph] Switch dump() definitions over to LLVM_DUMP_METHOD.Davide Italiano2015-11-231-6/+3
| | | | llvm-svn: 253842
* [LoopStrengthReduce] Mark dump() definitions as LLVM_DUMP_METHOD.Davide Italiano2015-11-231-14/+7
| | | | llvm-svn: 253841
* Add const qualifier for FunctionInfoIndex in ModuleLinker and linkInModule() ↵Mehdi Amini2015-11-232-4/+5
| | | | | | | (NFC) From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 253840
* Add const qualifier on FunctionInfoIndex::hasExportedFunctions() (NFC)Mehdi Amini2015-11-231-1/+1
| | | | | From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 253839
* Revert a portion of r253836 that seems to have broke a couple bots.Craig Topper2015-11-221-11/+14
| | | | llvm-svn: 253838
* [SCEV] Use C++11'ismsSanjoy Das2015-11-221-24/+19
| | | | llvm-svn: 253837
* [TableGen] Use range-based for loops. NFCCraig Topper2015-11-221-127/+112
| | | | llvm-svn: 253836
* [TableGen] Use std::fill instead of a manually coded loop. NFCCraig Topper2015-11-221-2/+2
| | | | llvm-svn: 253835
* Further simplify from r253832 with some unique_ptr and coalescing conditionsDavid Blaikie2015-11-221-17/+12
| | | | llvm-svn: 253834
* Further simplify from r253832, removing unnecessary intermediate lambdasDavid Blaikie2015-11-221-16/+4
| | | | llvm-svn: 253833
* [TableGen] Use std::any_of and std::find instead of manual loops. NFCCraig Topper2015-11-221-32/+23
| | | | llvm-svn: 253832
* Add a generic version of __divtc3.c for long double complex division.Joerg Sonnenberger2015-11-223-10/+62
| | | | | | Mark the unit test as applying to all platforms. llvm-svn: 253831
* [X86][FMA] Regenerate tests.Simon Pilgrim2015-11-221-8/+8
| | | | | | Fixes some broken checks. llvm-svn: 253830
* Use cabsl for long double, not cabs.Joerg Sonnenberger2015-11-221-1/+1
| | | | llvm-svn: 253829
* Move prototypes for the double-double helpers into the common header.Joerg Sonnenberger2015-11-223-9/+5
| | | | llvm-svn: 253828
* Don't use implementation namespace for include guard. Fix spacing.Joerg Sonnenberger2015-11-221-4/+4
| | | | llvm-svn: 253827
* [MDBuilder] Simplify code using initializer lists. NFC.Benjamin Kramer2015-11-221-28/+16
| | | | llvm-svn: 253826
* [SCEV] Simplify code. NFC.Benjamin Kramer2015-11-221-16/+5
| | | | llvm-svn: 253825
OpenPOWER on IntegriCloud