Generalize getCopyFromParts and getCopyToParts to
authorDuncan Sands <baldrick@free.fr>
Tue, 12 Feb 2008 20:46:31 +0000 (20:46 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 12 Feb 2008 20:46:31 +0000 (20:46 +0000)
commit014e04a5daeb312b1f0ebc1dd906ffc97c4abc5f
tree2dc81e687b47b8681bf32f1fcc772b7e61e151f1
parent394d28048c2df33cdb48edba74720ff75f0e623c
Generalize getCopyFromParts and getCopyToParts to
handle arbitrary precision integers and any number
of parts.  For example, on a 32 bit machine an i50
corresponds to two i32 parts.  getCopyToParts will
extend the i50 to an i64 then write half of the i64
to each part; getCopyFromParts will combine the two
i32 parts into an i64 then truncate the result to
i50.

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