Refactor getActionType and getTypeToTransformTo ; place all of the 'decision'
authorNadav Rotem <nadav.rotem@intel.com>
Fri, 27 May 2011 21:03:13 +0000 (21:03 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Fri, 27 May 2011 21:03:13 +0000 (21:03 +0000)
commit2d6dcb34b7f39682f3eed08180631189fb4b6636
treeeabbc682a10b7489da285b154560883c1917ef2e
parentdda266d4ce34bafed3b213ef0370cd9209159ba5
Refactor getActionType and getTypeToTransformTo ; place all of the 'decision'
code in one place. Re-apply 131534 and fix the multi-step promotion of integers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132217 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp
lib/Transforms/Scalar/CodeGenPrepare.cpp