- 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
-
Hans Wennborg authored
Previously, they were only built and run in the CMake build. llvm-svn: 186756
-
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 only handling the 'a' and 'b' options during moves before. llvm-svn: 186721
-
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
llvm-svn: 186704
-
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
-
Nico Rieck authored
The current machinery using KeyboardInterrupt for canceling doesn't work with multiple threads on Windows as it just cancels the currently run tests but the runners continue. We install a handler for Ctrl-C which stops the provider from providing any more tests to the runners. Together with aborting all currently running tests, this brings lit to a halt. llvm-svn: 186695
-
Joey Gouly authored
llvm-svn: 186692
-
Richard Sandiford authored
The insn definitions themselves crept into r186689, sorry. This should be the last of the distinct-ops instructions. llvm-svn: 186690
-
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
-
Rafael Espindola authored
llvm-svn: 186676
-
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
-
Tim Northover authored
Somehow forgot to git rm these two files. I believe I left the remaining invalid* tests intentionally, though whether my reasons were sound is a different matter. llvm-svn: 186663
-
Tim Northover authored
The tests were checking for barriers which the ARM ARM says they must execute as a full system DMB/DSB, rather than that they're UNDEFINED and LLVM does in fact represent them. The tests happened to be passing because they were using a non-versioned ARM triple which didn't have *any* DMB/DSB instructions. llvm-svn: 186662
-
Tim Northover authored
This allows "llvm-mc -disassemble" to accept two new features: + Using comma as a byte separator + Grouping bytes with '[' and ']' pairs. The behaviour outside a [...] group is unchanged. But within the group once llvm-mc encounters a true error, it stops rather than trying to resynchronise the stream at the next byte. This is more useful for disassembly tests, where we have an almost-instruction in mind and don't care what the misaligned interpretation would be. Particularly if it means llvm-mc won't actually see the next intended almost-instruction. As a side effect, this means llvm-mc can disassemble its own -show-encoding output if copy-pasted. llvm-svn: 186661
-
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
-