summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce a getAsRange helper.Rafael Espindola2016-02-162-26/+10
| | | | | | | | | This requires making an error message a bit more generic, but that seems a reasonable tradeoff. Extracted from r260488 but simplified a bit. llvm-svn: 260967
* Add some commentsMarshall Clow2016-02-161-9/+9
| | | | llvm-svn: 260966
* ScopDectect: Allow memory accesses with different element types by default ↵Tobias Grosser2016-02-161-1/+1
| | | | | | | | | | (try 3) First support for this feature was committed in r259784. Support for loop invariant load hoisting with different types was added by Johannes Doerfert in r260045 and r260886. llvm-svn: 260965
* Added a (private) status page for the Jacksonville meetingMarshall Clow2016-02-162-154/+129
| | | | llvm-svn: 260964
* Move DynRegionInfo out of the ELFDumper.Rafael Espindola2016-02-161-11/+11
| | | | | | | | This reduces indentation in preparation to adding a bit more code to it. Extracted from r260488. llvm-svn: 260963
* This reverts commit r260488 and r260489.Rafael Espindola2016-02-1610-442/+110
| | | | | | | | | | | Original messages: Revert "[readobj] Handle ELF files with no section table or with no program headers." Revert "[readobj] Dump DT_JMPREL relocations when outputting dynamic relocations." r260489 depends on r260488 and among other issues r260488 deleted error handling code. llvm-svn: 260962
* Issue a warning instead of fatal errors when checks for libatomic fail.Vasileios Kalintiris2016-02-161-2/+2
| | | | | | | | | | | | This should fix PR26631, PR26622 and has the nice property that the addition of the CheckLibcxxAtomic.cmake module acts as an NFC on the platforms of the reporters (at least for the time being). As these bug reports explain, CMake fails the atomic check because the include headers might not exist in the host environment. We could potentially point to the headers provided by libcxx itself. llvm-svn: 260961
* Start adding release notes for lld.Rafael Espindola2016-02-162-0/+36
| | | | llvm-svn: 260960
* [X86] PR26575: Fix LEA optimization pass.Andrey Turetskiy2016-02-162-0/+37
| | | | | | | | | | Add a missing check for a type of address displacement operand of the load/store instruction being a candidate for LEA substitution. Ref: https://llvm.org/bugs/show_bug.cgi?id=26575 Differential Revision: http://reviews.llvm.org/D17261 llvm-svn: 260959
* Replace getLoopForInst by getLoopForStmtJohannes Doerfert2016-02-162-15/+14
| | | | | | This patch was extracted from http://reviews.llvm.org/D13611. llvm-svn: 260958
* [OPENMP] Allow to use compound assignment operators.Alexey Bataev2016-02-162-10/+54
| | | | | | Loop-based directives allow to use iterators as loop counters. Iterators are allowed to define their own operators. This patch allows to use compound assignment operators for iterators. llvm-svn: 260957
* Set AST Build for all statements [NFC]Johannes Doerfert2016-02-161-2/+5
| | | | llvm-svn: 260956
* [FIX] LICM test caseJohannes Doerfert2016-02-161-6/+7
| | | | llvm-svn: 260955
* [OPENMP] Improved handling of pseudo-captured expressions in OpenMP.Alexey Bataev2016-02-1612-209/+328
| | | | | | | | Expressions inside 'schedule'|'dist_schedule' clause must be captured in combined directives to avoid possible crash during codegen. Patch improves handling of such constructs llvm-svn: 260954
* [clang-tidy] Fix an assert failure in `modernize-loop-convert`.Haojian Wu2016-02-162-1/+21
| | | | | | | | | | | | | | Summary: The test code will trigger following an assert failure: assert.h assertion failed at LoopConvertUtils.cpp:560 in bool clang::tidy::modernize::ForLoopIndexUseVisitor::TraverseMemberExpr(clang::MemberExpr*): ExprType->isPointerType() && "Operator-> returned non-pointer type" Reviewers: alexfh Differential Revision: http://reviews.llvm.org/D17287 llvm-svn: 260953
* [clang-tidy] Fix an assert failure of ForStmt in ↵Haojian Wu2016-02-162-4/+9
| | | | | | | | | | | | `readability-braces-around-statements` check. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D17134 llvm-svn: 260952
* Bump up timeout in TestChangeProcessGroupPavel Labath2016-02-161-1/+1
| | | | | | | The test fails very rarely. I suspect this is simply because the inferior does not have enough time to create the file under heavy load. llvm-svn: 260951
* Mark TestLldbGdbServer.test_written_M_content_reads_back_correctly as flaky ↵Pavel Labath2016-02-161-0/+1
| | | | | | | | on linux I believe the root cause is the asynchronous arrival of inferior stdio (pr25652). llvm-svn: 260950
* [Hexagon] Hoist nonnull assert up.Benjamin Kramer2016-02-162-1/+1
| | | | | | | | Once a pointer is turned into a reference it cannot be nullptr, clang rightfully warns about this assert being a tautology. Put the assert before the reference is created. llvm-svn: 260949
* [clang-tidy] Enhance modernize-redundant-void-arg check to apply fixes to ↵Alexander Kornienko2016-02-161-22/+10
| | | | | | | | | | | | header files Fixes http://llvm.org/PR25894 Patch by Richard Thomson! Differential revision: http://reviews.llvm.org/D16953 llvm-svn: 260948
* Make sure the functions' range is empty before going through it in the LLVM ↵Amaury Sechet2016-02-162-0/+8
| | | | | | C API test llvm-svn: 260947
* [Compiler-rt][MSan][MIPS] Resolve gethostbyname_r_erange for MIPSMohit K. Bhakkad2016-02-161-2/+2
| | | | | | | | | | Reviewers: eugenis, kcc, samsonov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17135 llvm-svn: 260946
* clang-tools-extra/test/Unit/lit.site.cfg.in: Prune on_clone. I guess it has ↵NAKAMURA Takumi2016-02-161-6/+0
| | | | | | been unused since r188006. llvm-svn: 260944
* [X86] Fix typos. NFCCraig Topper2016-02-161-2/+2
| | | | llvm-svn: 260943
* [X86] Use range-based for loop. NFCCraig Topper2016-02-161-3/+2
| | | | llvm-svn: 260942
* Do some refactoring in constant generation in the C API echo test. NFCAmaury Sechet2016-02-161-8/+10
| | | | llvm-svn: 260941
* [X86] Fix typo in comment. NFCCraig Topper2016-02-161-1/+1
| | | | llvm-svn: 260940
* Generate functions in 2 steps in the C API echo test. NFCAmaury Sechet2016-02-161-6/+32
| | | | llvm-svn: 260939
* [SCEVExpander] Make findExistingExpansion smarterJunmo Park2016-02-164-28/+77
| | | | | | | | | | | | | Summary: Extending findExistingExpansion can use existing value in ExprValueMap. This patch gives 0.3~0.5% performance improvements on benchmarks(test-suite, spec2000, spec2006, commercial benchmark) Reviewers: mzolotukhin, sanjoy, zzheng Differential Revision: http://reviews.llvm.org/D15559 llvm-svn: 260938
* [Frontend] Make sure WrapperFrontendAction updates CurrentInput after ↵Argyrios Kyrtzidis2016-02-161-1/+4
| | | | | | | | calling BeginSourceFileAction. I don't have a test case to add unfortunately. llvm-svn: 260937
* Restore the capability to manipulate datalayout from the C APIAmaury Sechet2016-02-166-0/+38
| | | | | | | | | | | | | | | | | Summary: This consist in variosu addition to the C API: LLVMTargetDataRef LLVMGetModuleDataLayout(LLVMModuleRef M); void LLVMSetModuleDataLayout(LLVMModuleRef M, LLVMTargetDataRef DL); LLVMTargetDataRef LLVMCreateTargetMachineData(LLVMTargetMachineRef T); Reviewers: joker.eph, Wallbraker, echristo Subscribers: axw Differential Revision: http://reviews.llvm.org/D17255 llvm-svn: 260936
* [TableGen] Fix inconsistent spacing. NFCCraig Topper2016-02-161-2/+2
| | | | llvm-svn: 260935
* [TableGen] Stop passing by reference an integer that doesn't get modified. NFCCraig Topper2016-02-162-2/+2
| | | | llvm-svn: 260934
* [TableGen] Remove unused member variable. NFCCraig Topper2016-02-162-3/+0
| | | | llvm-svn: 260933
* Fix buildbot failure because I got an include path wrong.Jason Molenda2016-02-161-1/+1
| | | | llvm-svn: 260932
* Remove an unnecessary std::move to fix -Wpessimizing-move warning.Craig Topper2016-02-161-1/+1
| | | | llvm-svn: 260931
* Add -Wimplicit-fallthrough command line option to clang inJason Molenda2016-02-1628-29/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the xcode project file to catch switch statements that have a case that falls through unintentionally. Define LLVM_FALLTHROUGH to indicate instances where a case has code and intends to fall through. This should be in llvm/Support/Compiler.h; Peter Collingbourne originally checked in there (r237766), then reverted (r237941) because he didn't have time to mark up all the 'case' statements that were intended to fall through. I put together a patch to get this back in llvm http://reviews.llvm.org/D17063 but it hasn't been approved in the past week. I added a new lldb-private-defines.h to hold the definition for now. Every place in lldb where there is a comment that the fall-through is intentional, I added LLVM_FALLTHROUGH to silence the warning. I haven't tried to identify whether the fallthrough is a bug or not in the other places. I haven't tried to add this to the cmake option build flags. This warning will only work for clang. This build cleanly (with some new warnings) on macosx with clang under xcodebuild, but if this causes problems for people on other configurations, I'll back it out. llvm-svn: 260930
* clang/test/Driver/ps4-linker-win.c: Tweak substitutions if %PATH% ends with ↵NAKAMURA Takumi2016-02-161-5/+5
| | | | | | '\\', or lit complains with "parser error". llvm-svn: 260929
* [TableGen] Use range-based for loop. NFCCraig Topper2016-02-161-2/+2
| | | | llvm-svn: 260928
* Simplify users of StringRef::{l,r}trim (clang) (NFC)Vedant Kumar2016-02-163-3/+3
| | | | | | | r260925 introduced a version of the *trim methods which is preferable when trimming a single kind of character. Update all users in clang. llvm-svn: 260927
* Simplify users of StringRef::{l,r}trim (NFC)Vedant Kumar2016-02-163-11/+10
| | | | | | | r260925 introduced a version of the *trim methods which is preferable when trimming a single kind of character. Update all users in llvm. llvm-svn: 260926
* [ADT] Add StringRef::{l,r}trim(char) overloads (NFC)Vedant Kumar2016-02-162-1/+19
| | | | | | | | | Add support for trimming a single kind of character from a StringRef. This makes the common case of trimming null bytes much neater. It's also probably a bit speedier too, since it avoids creating a std::bitset in find_{first,last}_not_of. llvm-svn: 260925
* [GlobalISel][IRTranslator] Override getPassName.Quentin Colombet2016-02-161-0/+4
| | | | llvm-svn: 260924
* [GlobalISel] Add missing file in previous commit.Quentin Colombet2016-02-161-0/+72
| | | | llvm-svn: 260923
* [GlobalISel] Get rid of the ifdefs in TargetLowering.Quentin Colombet2016-02-1611-125/+168
| | | | | | | Introduce a new API used only by GlobalISel: CallLowering. This API will contain target hooks dedicated to call lowering. llvm-svn: 260922
* Remove unnecessary regex in the test cases I fixed in r260496.Akira Hatanaka2016-02-162-2/+2
| | | | llvm-svn: 260921
* Deprecate LLVMGetDataLayout and replace it by LLVMGetDataLayoutStrAmaury Sechet2016-02-163-2/+14
| | | | | | | | | | | | Summary: The name is confusing as it matche another method on the module. Reviewers: joker.eph, Wallbraker, echristo Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D17283 llvm-svn: 260920
* Kill LLVMAddTargetDataAmaury Sechet2016-02-166-19/+2
| | | | | | | | | | | | Summary: It's red, it's dead. Reviewers: joker.eph, Wallbraker, echristo Subscribers: llvm-commits, axw Differential Revision: http://reviews.llvm.org/D17282 llvm-svn: 260919
* MITests: Update libdeps. llvm/Target/TargetOptions.h depends on MC.NAKAMURA Takumi2016-02-161-0/+1
| | | | llvm-svn: 260918
* Implemented stack symbol table ordering/packing optimization to improve data ↵Zia Ansari2016-02-1526-32/+401
| | | | | | | | locality and code size from SP/FP offset encoding. Differential Revision: http://reviews.llvm.org/D15393 llvm-svn: 260917
OpenPOWER on IntegriCloud