Andrea Di Biagio e9c0b5aba6 [DAGCombiner] Teach how to fold sext/aext/zext of constant build vectors.
This patch teaches the DAGCombiner how to fold a sext/aext/zext dag node when
the operand in input is a build vector of constants (or UNDEFs).

The inability to fold a sext/zext of a constant build_vector was the root
cause of some pcg bugs affecting vselect expansion on x86-64 with AVX support.

Before this change, the DAGCombiner only knew how to fold a sext/zext/aext of a
ConstantSDNode.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200234 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-27 18:45:30 +00:00
..
2014-01-11 21:06:00 +00:00
2012-10-28 23:08:07 +00:00
2013-12-07 02:48:29 +00:00
2014-01-11 21:06:00 +00:00
2012-10-12 02:01:09 +00:00
2012-10-12 02:01:09 +00:00
2012-10-12 02:01:09 +00:00
2012-10-12 02:01:09 +00:00
2013-03-09 18:25:40 +00:00
2013-03-04 22:25:01 +00:00
2013-09-07 01:14:42 +00:00
2012-10-12 02:01:09 +00:00
2012-10-12 02:01:09 +00:00
2013-02-18 04:04:26 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2013-02-20 05:45:15 +00:00
2012-10-27 00:57:14 +00:00
2012-10-26 22:57:32 +00:00
2013-07-26 20:58:55 +00:00