Enable the simplification of truncating-store after fixing the usage of
authorNadav Rotem <nadav.rotem@intel.com>
Wed, 15 Jun 2011 11:19:12 +0000 (11:19 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Wed, 15 Jun 2011 11:19:12 +0000 (11:19 +0000)
commitbaff46f192fd028af8950f2e3824ea7c71fbd76e
tree1fa71dbb2d2d2f50845385ba09c9011fa4eb1e9d
parent1e56a2a85fbafce5ceee72f72d41b84a71876844
Enable the simplification of truncating-store after fixing the usage of
GetDemandBits (which must operate on the vector element type).

Fix the a usage of getZeroExtendInReg which must also be done on scalar types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133052 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h