Owen Anderson c004eec71b When adding the carry bit to another value on X86, exploit the fact that the carry-materialization
(sbbl x, x) sets the registers to 0 or ~0.  Combined with two's complement arithmetic, we can fold
the intermediate AND and the ADD into a single SUB.

This fixes <rdar://problem/8449754>.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114460 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-21 18:41:19 +00:00
..
2010-07-13 18:14:47 +00:00
2010-07-16 22:51:10 +00:00
2010-07-10 22:42:12 +00:00
2010-05-08 04:47:54 +00:00
2010-08-30 18:12:35 +00:00
2010-06-14 20:19:03 +00:00
2009-11-11 07:11:02 +00:00
2010-09-17 22:28:18 +00:00
2010-08-17 22:35:20 +00:00
2010-09-17 22:28:18 +00:00
2010-04-28 01:53:13 +00:00
2010-04-28 01:53:13 +00:00
2010-04-28 01:53:13 +00:00
2010-08-15 19:40:29 +00:00
2010-09-17 22:28:18 +00:00
2010-06-03 04:02:59 +00:00
2010-04-28 08:30:49 +00:00
2010-06-09 20:30:22 +00:00