summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [LTO] do not run internalize pass from compileOptimized.Manman Ren2015-04-081-3/+0
| | | | | | | | | The input to compileOptimized is already optimized and internalized, so remove internalize pass from compileOptimized. rdar://20227235 llvm-svn: 234446
* Add begin() and end() to atom_collection that returns non-const iterators.Rui Ueyama2015-04-081-3/+8
| | | | llvm-svn: 234445
* Replace atom_iterator with a template alias.Rui Ueyama2015-04-081-57/+6
| | | | llvm-svn: 234444
* Merge atom_collection_vector with atom_collection.Rui Ueyama2015-04-0810-73/+58
| | | | | | | atom_collection_vector is the only derived class of atom_collection. This patch merges the two. llvm-svn: 234443
* Remove atom_collection_empty class.Rui Ueyama2015-04-082-26/+8
| | | | llvm-svn: 234442
* Fix resolution of certain recursive types.Stephane Sezer2015-04-087-1/+143
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: If a struct type S has a member T that has a member that is a function that returns a typedef of S* the respective field would be duplicated, which caused an assert down the line in RecordLayoutBuilder. This patch adds a check that removes the possibility of trying to resolve the same type twice within the same callstack. This commit also adds unit tests for these failures. Fixes https://llvm.org/bugs/show_bug.cgi?id=20486. Patch by Cristian Hancila. Test Plan: Run unit tests. Reviewers: clayborg spyffe Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8561 llvm-svn: 234441
* [Objective-C Sema] Use canonical type of properties when comparing Fariborz Jahanian2015-04-082-3/+20
| | | | | | | redeclaration of property in class extension and to avoid bogus error. rdar://20469452 llvm-svn: 234440
* Pass -mtriple to llc to appease buildbot.Akira Hatanaka2015-04-081-1/+1
| | | | | | This fixes the test case I committed in r234430. llvm-svn: 234439
* Formmatting correctionAndrew Kaylor2015-04-081-1/+2
| | | | llvm-svn: 234438
* Fix segfault when doing `thread info` on a thread without stop info.Chaoren Lin2015-04-081-7/+10
| | | | | | | | | | | | | | | | Summary: E.g., if thread 1 hits a breakpoint, then a `thread info` on thread 2 will cause a segfault, since thread 2 will have no stop info (intended behavior?). Reviewers: kubabrecka, clayborg Reviewed By: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8905 llvm-svn: 234437
* vec.data() and vec.data() + vec.size() are both safe even if the vector is ↵Rui Ueyama2015-04-081-4/+2
| | | | | | empty. llvm-svn: 234436
* YAML: Remove blank class using alias template.Rui Ueyama2015-04-081-29/+6
| | | | llvm-svn: 234435
* Native: Remove AtomArray and use atom_collection_vector instead.Rui Ueyama2015-04-081-76/+28
| | | | llvm-svn: 234434
* [WinEH] Minor bug fixes.Andrew Kaylor2015-04-082-4/+5
| | | | | | | Fixed insert point for allocas created for demoted values. Clear the nested landing pad list after it has been processed. llvm-svn: 234433
* Native: Use tempalte to remove duplicate code. NFC.Rui Ueyama2015-04-081-117/+36
| | | | llvm-svn: 234432
* Native: Simplify expressions. NFC.Rui Ueyama2015-04-081-9/+6
| | | | llvm-svn: 234431
* [DAGCombine] Fix a bug in MergeConsecutiveStores.Akira Hatanaka2015-04-083-21/+42
| | | | | | | | | | | | | | | | | | | | | The bug manifests when there are two loads and two stores chained as follows in a DAG, (ld v3f32) -> (st f32) -> (ld v3f32) -> (st f32) and the stores' values are extracted from the preceding vector loads. MergeConsecutiveStores would replace the first store in the chain with the merged vector store, which would create a cycle between the merged store node and the last load node that appears in the chain. This commits fixes the bug by replacing the last store in the chain instead. rdar://problem/20275084 Differential Revision: http://reviews.llvm.org/D8849 llvm-svn: 234430
* Fix -Wformat-pedantic warningsDavid Blaikie2015-04-085-10/+12
| | | | llvm-svn: 234429
* Go bindings: make various DIBuilder arguments optional.Peter Collingbourne2015-04-081-15/+19
| | | | | | | | | | | r234262 changed some code in DIBuilderBindings.cpp to use the unwrap function to unwrap debug metadata. The problem with this is that unwrap asserts that its argument is non-null, which is not what we want in a number of places in DIBuilder where the argument is optional. This change makes certain arguments optional by adding null checks in places where it is required, fixing the llgo build. llvm-svn: 234428
* Don't repeat names in comments.Rafael Espindola2015-04-081-52/+46
| | | | llvm-svn: 234427
* Remove unused variable.Rafael Espindola2015-04-081-2/+0
| | | | llvm-svn: 234426
* Eliminate O(n^2) worst-case behavior in SSA constructionCameron Zwarich2015-04-081-3/+6
| | | | | | | | | The code uses a priority queue and a worklist, which share the same visited set, but the visited set is only updated when inserting into the priority queue. Instead, switch to using separate visited sets for the priority queue and worklist. llvm-svn: 234425
* [LoopAccesses] Allow analysis to complete in the presence of uniform storesAdam Nemet2015-04-086-11/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Re-apply r234361 with a fix and a testcase for PR23157) Both run-time pointer checking and the dependence analysis are capable of dealing with uniform addresses. I.e. it's really just an orthogonal property of the loop that the analysis computes. Run-time pointer checking will only try to reason about SCEVAddRec pointers or else gives up. If the uniform pointer turns out the be a SCEVAddRec in an outer loop, the run-time checks generated will be correct (start and end bounds would be equal). In case of the dependence analysis, we work again with SCEVs. When compared against a loop-dependent address of the same underlying object, the difference of the two SCEVs won't be constant. This will result in returning an Unknown dependence for the pair. When compared against another uniform access, the difference would be constant and we should return the right type of dependence (forward/backward/etc). The changes also adds support to query this property of the loop and modify the vectorizer to use this. Patch by Ashutosh Nema! llvm-svn: 234424
* [Sanitizer RT] Get rid of internal_isattyTimur Iskhodzhanov2015-04-085-11/+13
| | | | llvm-svn: 234423
* Remove redundant virtual for member functions marked 'override'.David Blaikie2015-04-088-86/+55
| | | | llvm-svn: 234422
* [ARM] make vminnm/vmaxnm work with ?le, ?ge and no-nans-fp-mathScott Douglass2015-04-082-11/+113
| | | | | | | | | | Because -menable-no-nans causes fcmp conditions to be rewritten without 'o' or 'u' the recognition code in needs to cope. Also extended it to handle 'le' and 'ge. Differential Revision: http://reviews.llvm.org/D8725 llvm-svn: 234421
* Remove redundant virtual on member functions marked 'override'.David Blaikie2015-04-083-14/+8
| | | | llvm-svn: 234419
* Move some POSIX-specific functions from sanitizer_libc.h to a new ↵Timur Iskhodzhanov2015-04-0814-59/+86
| | | | | | sanitizer_posix.h llvm-svn: 234418
* Remove redundant virtual on member functions marked 'override'.David Blaikie2015-04-081-1/+1
| | | | llvm-svn: 234417
* Remove redundant virtual from member functions marked 'override'.David Blaikie2015-04-089-28/+29
| | | | llvm-svn: 234416
* Remove unused typedefs.Rui Ueyama2015-04-082-13/+1
| | | | llvm-svn: 234415
* Revert "Allow undefined symbols in shared library by default."Rui Ueyama2015-04-081-1/+1
| | | | | | This reverts commit r234378 because it broke buildbots. llvm-svn: 234414
* fixed to test features, not CPU modelsSanjay Patel2015-04-081-24/+24
| | | | llvm-svn: 234413
* Don't repeat names in comments.Rafael Espindola2015-04-081-93/+84
| | | | llvm-svn: 234412
* [Sanitizers] Make OpenFile more portableTimur Iskhodzhanov2015-04-0811-64/+64
| | | | llvm-svn: 234410
* [mips] Update MIPS relocations listSimon Atanasyan2015-04-081-0/+1
| | | | | | No functional changes. llvm-svn: 234408
* Force the inclusion of the LLVMSupport lib. Otherwise, the build (might?) ↵Sylvestre Ledru2015-04-081-0/+2
| | | | | | fails with an undefined reference to 'llvm::llvm_is_multithreaded()' llvm-svn: 234407
* [mips] [IAS] Do not generate redundant move when expanding lw/sw with symbol.Toma Tabacu2015-04-082-6/+22
| | | | | | | | | | | | | | | | | | Summary: Even though there is no 2nd register operand in the "lw/sw $8, symbol" case, we still try to find one, and we end up with $0, which makes us generate an unnecessary "addu $8, $8, $0" (a.k.a. "move $8, $8"). We can avoid this by checking if the 2nd register operand is different from $0, before generating the addu. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8055 llvm-svn: 234406
* Don't repeat names in comments. NFC.Rafael Espindola2015-04-081-11/+10
| | | | llvm-svn: 234405
* [jitlistener] Remove unused codeBenjamin Kramer2015-04-083-73/+0
| | | | llvm-svn: 234404
* [clang-tidy] Fix for http://llvm.org/PR23130Alexander Kornienko2015-04-082-6/+5
| | | | | | | NamespaceCommentCheck: Don't remove the token placed immediately after the namespace closing brace. llvm-svn: 234403
* [OPENMP] Allow redeclaration of variables as threadprivate.Alexey Bataev2015-04-084-34/+36
| | | | | | No need to emit an error message if the variable is redeclared as threadprivate. llvm-svn: 234402
* [mips] [IAS] Add support for the BNEZL and BEQZL pseudo-instructions.Toma Tabacu2015-04-082-0/+10
| | | | | | | | | | | | | | | | | Summary: They are of the form "bnezl/beqzl $rs, offset" and expand to "bnel/beql $rs, $zero, offset". These instructions are used in Linux inline assembly. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8540 llvm-svn: 234401
* Write the section header in the end.Rafael Espindola2015-04-0821-47/+24
| | | | | | | | One could make the argument for writing it immediately after the ELF header, but writing it in the middle of the sections like we were doing just makes it harder for no reason. llvm-svn: 234400
* [ARM][Debug Info] Restore emitting of .cfi_def_cfa_offset for functions ↵Sergey Dmitrouk2015-04-082-1/+38
| | | | | | | | | | | | | | | | without stack frame Summary: Looks like new code from [[ http://reviews.llvm.org/rL222057 | rL222057 ]] doesn't account for early `return` in `ARMFrameLowering::emitPrologue`, which leads to loosing `.cfi_def_cfa_offset` directive for functions without stack frame. Reviewers: echristo, rengolin, asl, t.p.northover Reviewed By: t.p.northover Subscribers: llvm-commits, rengolin, aemerson Differential Revision: http://reviews.llvm.org/D8606 llvm-svn: 234399
* [mips] [IAS] Remove AssemblerPredicate's from RelocPIC and RelocStatic.Toma Tabacu2015-04-0816-19/+122
| | | | | | | | | | | | | | | | Summary: These AssemblerPredicate's are unnecessary and actually make some instructions unusable when assembling pre-MIPS32 ISAs. For example, this was causing the IAS to reject the 'j' instruction for MIPS I-V. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8300 llvm-svn: 234398
* [ELF] Remove redundant GOTFile classesSimon Atanasyan2015-04-085-50/+16
| | | | llvm-svn: 234397
* [ELF] Do not save a reference to GOTFile instance in xxxWriter classesSimon Atanasyan2015-04-085-31/+25
| | | | | | | | It's a follow-up to r234347. We do not need to keep a reference to `GOTFile` instance in a xxxWriter class after ownership is transferred to the caller of the `createImplicitFiles` method. llvm-svn: 234396
* Add documentation about remote debugging to the websitePavel Labath2015-04-083-1/+147
| | | | | | | | | | Reviewers: tberghammer, clayborg Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D8871 llvm-svn: 234395
* tsan: handle async signals while blocked in pthread_cond_waitDmitry Vyukov2015-04-085-9/+90
| | | | | | Fixes https://code.google.com/p/thread-sanitizer/issues/detail?id=91 llvm-svn: 234394
OpenPOWER on IntegriCloud