Nadav Rotem b5838689c6 The X86 backend has a number of optimizations for SETCC nodes which use
arithmetic instructions. However, when small data types are used, a truncate
node appears between the SETCC node and the arithmetic operation. This patch
adds support for this pattern.

Before:
  xorl  %esi, %edi
  testb %dil, %dil
  setne %al
  ret

After:
  xorb  %dil, %sil
  setne %al
  ret

rdar://12081007



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162160 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-18 02:43:28 +00:00
..
2012-07-16 19:35:43 +00:00
2011-10-22 12:39:25 +00:00
2011-10-30 13:24:22 +00:00
2011-11-23 04:03:08 +00:00
2012-05-19 23:34:59 +00:00
2011-09-30 23:21:11 +00:00
2012-01-27 02:31:29 +00:00
2012-02-02 19:00:49 +00:00
2012-03-20 17:20:46 +00:00
2012-02-02 19:00:49 +00:00
2012-07-23 08:51:15 +00:00
2012-01-05 00:43:34 +00:00
2012-06-19 02:17:35 +00:00
2012-08-17 12:28:26 +00:00
2012-08-01 16:42:35 +00:00
2012-08-01 12:06:00 +00:00
2012-05-24 22:08:29 +00:00
2012-08-17 12:28:26 +00:00
2011-11-15 07:13:03 +00:00
2012-08-17 12:28:26 +00:00
2011-11-08 00:09:27 +00:00
2011-08-31 21:41:20 +00:00
2012-08-14 21:24:47 +00:00
2011-12-08 19:21:39 +00:00
2011-10-16 20:43:41 +00:00
2012-04-20 23:36:09 +00:00
2012-07-17 19:40:05 +00:00
2012-01-19 01:13:47 +00:00
2012-06-01 05:00:54 +00:00
2012-03-30 00:26:54 +00:00
2011-11-07 23:10:43 +00:00
2011-11-08 00:03:24 +00:00
2011-11-07 19:15:58 +00:00
2011-10-10 23:18:02 +00:00