- Jul 20, 2013
-
-
Benjamin Kramer authored
While there replace an explicit struct with std::mem_fun. llvm-svn: 186761
-
Stephen Lin authored
llvm-svn: 186759
-
Matt Arsenault authored
llvm-svn: 186758
-
Manman Ren authored
Simplify DIxxx:Verify to not call Verify on an operand. Instead, we use DebugInfoFinder to list all MDNodes that should be a DIScope and all MDNodes that should be a DIType and we will call Verify on those lists. llvm-svn: 186737
-
Matt Arsenault authored
llvm-svn: 186736
-
Lang Hames authored
indirect branches correctly. Under some circumstances, this led to the deletion of basic blocks that were the destination of indirect branches. In that case it left indirect branches to nowhere in the code. This patch replaces, and is more general than either of the previous fixes for indirect-branch-analysis issues, r181161 and r186461. For other branches (not indirect) this refactor should have *almost* identical behavior to the previous version. There are some corner cases where this refactor is able to analyze blocks that the previous version could not (e.g. this necessitated the update to thumb2-ifcvt2.ll). <rdar://problem/14464830> llvm-svn: 186735
-
Rui Ueyama authored
The original change was rolled back in r186627 because of test failures on the big endian machine. I believe I fixed the issue so re-submitting. llvm-svn: 186734
-
Nadav Rotem authored
llvm-svn: 186733
-
Nadav Rotem authored
llvm-svn: 186732
-
Nadav Rotem authored
SLPVectorizer: Improve the compile time of isConsecutive by reordering the conditions that check GEPs and eliminate two of the calls to accumulateConstantOffset. llvm-svn: 186731
-
- Jul 19, 2013
-
-
Vincent Lejeune authored
llvm-svn: 186725
-
Vincent Lejeune authored
llvm-svn: 186724
-
Vincent Lejeune authored
llvm-svn: 186723
-
Rafael Espindola authored
We were incorrectly using compiler_used instead of compiler.used. Unfortunately the passes using the broken name had tests also using the broken name. llvm-svn: 186705
-
Reid Kleckner authored
Summary: This allows the clang driver to put MSVC compatible options in the same enumerator space as its normal options but exclude them from normal option parsing. Also changes the standard ParseArgs() method to consider unknown arguments with a leading slash as being inputs rather than flags. High level discussion for clang-cl is here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-June/030404.html CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1049 llvm-svn: 186703
-
Joey Gouly authored
llvm-svn: 186692
-
Richard Sandiford authored
Follows the same lines as r186686, but much more limited, since we only use ADD LOGICAL for multi-i64 additions. llvm-svn: 186689
-
Joey Gouly authored
llvm-svn: 186688
-
Richard Sandiford authored
I did these as a separate patch because it uses a slightly different form of RIE layout. llvm-svn: 186687
-
Richard Sandiford authored
The testsuite changes follow the same lines as for r186683. llvm-svn: 186686
-
Richard Sandiford authored
Like r186683, but for 64 bits. llvm-svn: 186685
-
Serge Pavlov authored
llvm-svn: 186684
-
Richard Sandiford authored
The atomic tests assume the two-operand forms, so I've restricted them to z10. Running and-01.ll, or-01.ll and xor-01.ll for z196 as well as z10 shows why using convertToThreeAddress() is better than exposing the three-operand forms first and then converting back to two operands where possible (which is what I'd originally tried). Using the three-operand form first stops us from taking advantage of NG, OG and XG for spills. llvm-svn: 186683
-
Tilmann Scheller authored
See A8.8.127 in ARM DDI 0406C.b. Related to <rdar://problem/14403733>. llvm-svn: 186682
-
Richard Sandiford authored
This patch uses the instructions added in r186680 for codegen. llvm-svn: 186681
-
Richard Sandiford authored
This first step just adds definitions for SLLK, SRLK and SRAK. The next patch will actually make use of them during codegen. insn-bad.s tests that some form of error is reported when using these instructions on z10. More work is needed to get the "instruction requires: distinct-ops" that we'd ideally like, so I've stubbed that part out for now. I'll come back and make it mandatory once the necessary changes are in. llvm-svn: 186680
-
Rafael Espindola authored
It is similar to 186511, but for creating files for writing. llvm-svn: 186679
-
Chandler Carruth authored
count the right things and have the right names. llvm-svn: 186667
-
Chandler Carruth authored
test case came from Benjamin and found the parallel bug in the vector promotion code. llvm-svn: 186666
-
Chandler Carruth authored
implementation of the SROA algorithm. We were using the term 'partition' in many places that no longer ever represented an actual partition, but rather just an arbitrary slice of an alloca. No functionality change intended here. Mostly just renaming of types, functions, variables, and rewording of comments. Several comments were rewritten to make a lot more sense in the new structure of things. The stats are still weird and not reflective of how this really works. I'll fix those up in a separate patch as it is a touch more semantic of a change... llvm-svn: 186659
-
Alexey Samsonov authored
Fix uninitialized memory read found by MemorySanitizer: always set output parameter of ConvergingScheduler::SchedBoundary::getOtherResourceCount llvm-svn: 186658
-
Chandler Carruth authored
DataLayout variables. llvm-svn: 186656
-
Chandler Carruth authored
SROA. The crux of the issue is that now we track uses of a partition of the alloca in two places: the iterators over the partitioning uses and the previously collected split uses vector. We weren't accounting for the fact that the split uses might invalidate integer widening in ways other than due to their width (in this case due to being volatile). Further reduced testcase added to the tests. llvm-svn: 186655
-
Akira Hatanaka authored
No functionality change. llvm-svn: 186642
-
Eric Christopher authored
uses that wanted it. Also change the interface for createCompileUnit to compensate. Fix comments that refer to TheCU as well. llvm-svn: 186637
-
Manman Ren authored
1> Use DebugInfoFinder to find debug info MDNodes. 2> Add disable-debug-info-verifier to disable verifying debug info. 3> Disable verifying for testing cases that fail (will update the testing cases later on). 4> MDNodes generated by clang can have empty filename for TAG_inheritance and TAG_friend, so DIType::Verify is modified accordingly. Note that DebugInfoFinder does not list all debug info MDNode. For example, clang can generate: metadata !{i32 786468}, which will fail to verify. This MDNode is used by debug info but not included in DebugInfoFinder. This MDNode is generated as a temporary node in DIBuilder::createFunction Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) }; MDNode::getTemporary(VMContext, TElts) llvm-svn: 186634
-
Andrew Trick authored
llvm-svn: 186632
-
Rui Ueyama authored
Because it broke s390x and ppc64-linux buildbots. This reverts commit r186623. llvm-svn: 186627
-
Rui Ueyama authored
Summary: Dump optional data directory entries in the PE/COFF header, so that we can test the output of LLD linker. This patch updates the test binary file, but the source of the binary is the same. I just re-linked the file. I don't know how the previous file was linked, but the previous file did not have any data directory entries for some reason. Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1148 llvm-svn: 186623
-
Nick Lewycky authored
llvm-svn: 186622
-