Nadav Rotem d60cb11afd When unsafe math is used, we can use commutative FMAX and FMIN. In some cases
this allows for better code generation.

Added a new DAGCombine transformation to convert FMAX and FMIN to FMANC and
FMINC, which are commutative.

For example:

  movaps  %xmm0, %xmm1
  movsd LC(%rip), %xmm0
  minsd %xmm1, %xmm0

becomes:

  minsd LC(%rip), %xmm0




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162187 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-19 13:06:16 +00:00
..
2012-07-16 19:35:43 +00:00
2011-11-23 04:03:08 +00:00
2012-05-19 23:34:59 +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
2012-08-14 21:24:47 +00:00
2011-12-08 19:21:39 +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