| commit | 014e04a5daeb312b1f0ebc1dd906ffc97c4abc5f | [log] [tgz] |
|---|---|---|
| author | Duncan Sands <baldrick@free.fr> | Tue Feb 12 20:46:31 2008 +0000 |
| committer | Duncan Sands <baldrick@free.fr> | Tue Feb 12 20:46:31 2008 +0000 |
| tree | 2dc81e687b47b8681bf32f1fcc772b7e61e151f1 | |
| parent | 394d28048c2df33cdb48edba74720ff75f0e623c [diff] |
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