Go to file
Richard Sandiford 8a757bba10 [SystemZ] Move compare-and-branch generation even later
r187116 moved compare-and-branch generation from the instruction-selection
pass to the peephole optimizer (via optimizeCompare).  It turns out that even
this is a bit too early.  Fused compare-and-branch instructions don't
interact well with predication, where a CC result is needed.  They also
make it harder to reuse the CC side-effects of earlier instructions
(not yet implemented, but the subject of a later patch).

Another problem was that the AnalyzeBranch family of routines weren't
handling compares and branches, so we weren't able to reverse the fused
form in cases where we would reverse a separate branch.  This could have
been fixed by extending AnalyzeBranch, but given the other problems,
I've instead moved the fusing to the long-branch pass, which is also
responsible for the opposite transformation: splitting out-of-range
compares and branches into separate compares and long branches.

I've added a test for the AnalyzeBranch problem.  A test for the
predication problem is included in the next patch, which fixes a bug
in the choice of CC mask.

llvm-svn: 187494
2013-07-31 12:11:07 +00:00
clang With help from chapuni on IRC, I think this is right now. =] The issue 2013-07-31 11:14:13 +00:00
clang-tools-extra Fixed path differences when using include/exclude headers 2013-07-31 04:00:28 +00:00
compiler-rt [msan] Fix msan tests with pipefail option. 2013-07-31 09:14:55 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc Add missing integer min/max definitions 2013-07-26 13:02:02 +00:00
libcxx Debug mode for unordered_multimap. Some mods were done for unordered_map as well to keep all the tests passing. However unordered_map is at the very least still missing tests, if not functionality (if it isn't tested, it probably isn't working). 2013-07-30 21:04:42 +00:00
libcxxabi tip-of-trunk clang has corrected some access checks for special members in a virtual inheritance hierarchy. Change a few private inheritances to protected. This change will not impact what the test was testing. This fixes http://llvm.org/bugs/show_bug.cgi?id=16753. 2013-07-30 19:00:45 +00:00
lld [PECOFF] Add a comment on the idata section fragments. 2013-07-31 05:10:20 +00:00
lldb Reverts r187449 (report_fatal_error) in favor of a log message since 2013-07-31 03:56:45 +00:00
llvm [SystemZ] Move compare-and-branch generation even later 2013-07-31 12:11:07 +00:00
polly Remove '-debug-only' from test case 2013-07-29 05:35:11 +00:00