Revert part of r166049 back and enable test case in r166125.
authorMichael Liao <michael.liao@intel.com>
Wed, 17 Oct 2012 23:45:54 +0000 (23:45 +0000)
committerMichael Liao <michael.liao@intel.com>
Wed, 17 Oct 2012 23:45:54 +0000 (23:45 +0000)
commit07edaf3801f7169477bab6d33cad86209ea8f558
tree4f1606729c936bc7de7dd995ec1c1efbd82bd296
parent6dc0050f6d42520ad92e6786551f27ee3f365ecd
Revert part of r166049 back and enable test case in r166125.

- Folding (trunc (concat ... X )) to (concat ... (trunc X) ...) is valid
  when '...' are all 'undef's.
- r166125 relies on this transformation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166155 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/extract-concat.ll