- May 01, 2014
-
-
Chandler Carruth authored
no functionality changed. llvm-svn: 207750
-
Chandler Carruth authored
of SCCs in the SCC DAG. Exercise them in the big graph test case. These will be especially useful for establishing invariants in insertion logic. llvm-svn: 207749
-
Simon Atanasyan authored
to 'if' statement. No functional changes, llvm-svn: 207748
-
Richard Barton authored
This fixes an ARM assembler crash - regression test added. llvm-svn: 207747
-
Chandler Carruth authored
=[ Turns out that this was the root cause of PR19621. We found a crasher only recently (likely due to improvements elsewhere in the SLP vectorizer) but the reduced test case failed all the way back to here. I've confirmed that reverting this patch both fixes the reduced test case in PR19621 and the actual source file that led to it, so it seems to really be rooted here. I've replied to the commit thread with discussion of my (feeble) attempts to debug this. Didn't make it very far, so reverting now that we have a good test case so that things can get back to healthy while the debugging carries on. llvm-svn: 207746
-
Simon Atanasyan authored
llvm-svn: 207745
-
Simon Atanasyan authored
llvm-svn: 207744
-
Chandler Carruth authored
removal. We can't just blindly increment (or decrement) the adapted iterator when the value is null because doing so can walk past the end (or beginning) and keep inspecting the value. The fix I've implemented is to restrict this further to a forward iterator and add an end iterator to the members (replacing a member that had become dead when I switched to the adaptor base!) and using that to stop the iteration. I'm not entirely pleased with this solution. I feel like forward iteration is too restrictive. I wasn't even happy about bidirectional iteration. It also makes the iterator objects larger and the iteration loops more complex. However, I also don't really like the other alternative that seems obvious: a sentinel node. I'm still hoping to come up with a more elegant solution here, but this at least fixes the MSan and Valgrind errors on this code. llvm-svn: 207743
-
Bradley Smith authored
llvm-svn: 207742
-
Matheus Almeida authored
Summary: There are two functional changes: 1) The directive is not expanded for the ASM->ASM code path. 2) If PIC is not set, there's no expansion for the ASM->OBJ code path (same behaviour as GAS). Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D3482 llvm-svn: 207741
-
Daniel Sanders authored
GAS doesn't actually accept these particular cases. The mnemonic without the trailing 'v' still supports two-operand aliases. llvm-svn: 207740
-
Oliver Stannard authored
Record the DWARF version in MCContext, and use it when emitting the dwarf version into the debug info. llvm-svn: 207739
-
Simon Atanasyan authored
arguments of the -m command line option. llvm-svn: 207738
-
Saleem Abdulrasool authored
This fixes the memory leak introduced with the initial addition of support for WoA stack probing. Now that the pseudo-instruction expansion can handle an external symbol, use that to generate the load which simplifies the logic as well as avoids the memory leak. llvm-svn: 207737
-
Saleem Abdulrasool authored
This enhances the expansion of the mov32imm pseudo-instruction to support an external symbol reference. This is motivated by a simplification of the stack probe emission for Windows on ARM (and fixing a leak). llvm-svn: 207736
-
Ben Langmuir authored
We need to open an ASTFile while checking its expected size and modification time, or another clang instance can modify the file between the stat() and the open(). llvm-svn: 207735
-
Reid Kleckner authored
Reviewers: rsmith Differential Revision: http://reviews.llvm.org/D3551 llvm-svn: 207734
-
Reid Kleckner authored
We were destroying them in the callee, and then again in the caller. We should use an EH-only cleanup and disable it at the point of the call for win64, even though we don't use inalloca. llvm-svn: 207733
-
Richard Smith authored
appear to be breaking a bootstrapped build of compiler-rt. llvm-svn: 207732
-
Richard Smith authored
correction to direct base class members, and recover properly after we apply such a correction. llvm-svn: 207731
-
Joerg Sonnenberger authored
llvm-svn: 207730
-
Rui Ueyama authored
When creating a .lib file, we should strip the leading underscore, but should not strip stdcall atsign suffix. Otherwise produced .lib files cannot be linked. llvm-svn: 207729
-
Rafael Espindola authored
This makes the coff writer compute the correct symbol value for the test in pr19147. The section is still incorrect, that will be fixed in a followup patch. llvm-svn: 207728
-
Rui Ueyama authored
Previously the input file for the lib.exe command would be removed as soon as the command exits, so we couldn't write a test to check the file contents are correct. This patch adds /lldmoduledeffile: option to retain a copy of the temporary file at the given file path, so that you can see the file if you want. llvm-svn: 207727
-
David Blaikie authored
llvm-svn: 207726
-
David Blaikie authored
llvm-svn: 207725
-
David Blaikie authored
Ownership of abstract scopes coming soon. llvm-svn: 207724
-
Joerg Sonnenberger authored
llvm-svn: 207723
-
Chandler Carruth authored
DEPENDS rather than SOURCES. The SOURCES just end up looking on the filesystem and not finding anything. Makes for very hard to debug build errors. =/ llvm-svn: 207722
-
Joerg Sonnenberger authored
llvm-svn: 207721
-
Alexey Samsonov authored
Summary: Get rid of UserVariables set, and turn DbgValues into MapVector to get a fixed ordering, as suggested in review for http://reviews.llvm.org/D3573. Test Plan: llvm regression tests Reviewers: dblaikie Reviewed By: dblaikie Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3579 llvm-svn: 207720
-
David Blaikie authored
Breaks GDB buildbot (http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75/builds/14517) GCC emits DW_AT_object_pointer /everywhere/ (declaration, abstract definition, inlined subroutine), but it looks like GCC relies on it being somewhere other than the declaration, at least. I'll experiment further & can hopefully still remove it from the inlined_subroutine. This reverts commit r207705. llvm-svn: 207719
-
Joerg Sonnenberger authored
conditionally emitting .fnstart and friends only for EHABI. llvm-svn: 207718
-
David Blaikie authored
They just don't need to be there - they're inherited from the abstract definition. In theory I would like them to be inherited from the declaration, but the DWARF standard doesn't quite say that... we can probably do it anyway but I'm less confident about that so I'll leave it for a separate commit. llvm-svn: 207717
-
Joerg Sonnenberger authored
llvm-svn: 207716
-
Alex McCarthy authored
Reviewers: rsmith Subscribers: cfe-commits, alexfh, klimek Differential Revision: http://reviews.llvm.org/D3578 llvm-svn: 207715
-
Alexey Samsonov authored
llvm-svn: 207714
-
Gerolf Hoflehner authored
Not all address taken blocks get inlined. The reason is that a blocks new address is known only when it is cloned. But e.g. a branch instruction in a different block could need that address earlier while it gets cloned. The solution is to collect the set of all blocks that can potentially get inlined and compute a new block address up front. Then clone and cleanup. rdar://16427209 llvm-svn: 207713
-
Dmitri Gribenko authored
Since the community says that a blacklist is not good enough, and I don't have enough time now to implement a proper whitelist, let's just remove the attribute validation. But, nevertheless, we can still communicate in the generated XML if our parser found an issue with the HTML. But this bit is best-effort and is specifically called out in the schema as such. llvm-svn: 207712
-
Rafael Espindola authored
This simplifies ELFObjectWriter::SymbolValue a bit more. This new version will also be used in the COFF writer to fix pr19147. llvm-svn: 207711
-