Files
archived-llvm/test/CodeGen/SystemZ
Richard Sandiford 2a2a323488 Merging r196267:
------------------------------------------------------------------------
r196267 | rsandifo | 2013-12-03 11:01:54 +0000 (Tue, 03 Dec 2013) | 12 lines

[SystemZ] Fix choice of known-zero mask in insertion optimization

The backend converts 64-bit ORs into subreg moves if the upper 32 bits
of one operand and the low 32 bits of the other are known to be zero.
It then tries to peel away redundant ANDs from the upper 32 bits.

Since AND masks are canonicalized to exclude known-zero bits,
the test ORs the mask and the known-zero bits together before
checking for redundancy.  The problem was that it was using the
wrong node when checking for known-zero bits, so could drop ANDs
that were still needed.

------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196268 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-03 11:05:09 +00:00
..
2013-10-28 13:53:37 +00:00
2013-07-19 16:21:55 +00:00
2013-07-19 16:24:22 +00:00
2013-07-19 16:24:22 +00:00
2013-09-16 09:03:10 +00:00
2013-10-28 13:53:37 +00:00
2013-12-03 11:05:09 +00:00
2013-10-28 13:53:37 +00:00
2013-10-28 13:53:37 +00:00
2013-07-19 16:32:12 +00:00
2013-07-19 16:32:12 +00:00
2013-11-22 17:37:28 +00:00
2013-09-10 10:20:32 +00:00
2013-11-22 17:37:52 +00:00
2013-07-19 16:21:55 +00:00
2013-07-19 16:24:22 +00:00
2013-07-19 16:24:22 +00:00
2013-09-05 10:36:45 +00:00
2013-11-26 10:58:52 +00:00
2013-07-18 10:40:35 +00:00
2013-07-18 10:06:15 +00:00
2013-10-28 13:53:37 +00:00
2013-07-19 16:21:55 +00:00
2013-07-19 16:24:22 +00:00
2013-07-19 16:24:22 +00:00
2013-09-05 10:36:45 +00:00