Evan Cheng aaf414c92c Favors generating "not" over "xor -1". For example.
unsigned test(unsigned a) {
  return ~a;
}
llvm used to generate:
movl    $4294967295, %eax
xorl    4(%esp), %eax

Now it generates:
movl      4(%esp), %eax
notl      %eax

It's 3 bytes shorter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62661 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-21 02:09:05 +00:00
..
2008-06-27 03:14:20 +00:00
2008-12-19 10:55:56 +00:00
2008-10-01 15:07:14 +00:00
2008-08-29 22:59:13 +00:00
2008-09-05 20:04:37 +00:00
2008-11-27 00:37:06 +00:00
2008-10-24 21:20:25 +00:00
2009-01-20 19:29:54 +00:00
2009-01-15 20:18:42 +00:00
2008-06-19 01:50:24 +00:00
2009-01-07 01:48:08 +00:00
2008-07-25 19:08:59 +00:00
2008-07-17 19:48:04 +00:00
2008-08-21 23:04:49 +00:00
2008-09-27 01:56:22 +00:00
2008-09-27 01:56:22 +00:00
2008-09-27 01:56:22 +00:00