commit | 25eb043759c23b61769108f78382eb9701c41db2 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Wed Mar 12 20:30:08 2008 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Wed Mar 12 20:30:08 2008 +0000 |
tree | 4007f1c5e0c4cb5943b61789e30d2beeb7274432 | |
parent | 58d74910c6b82e622ecbb57d6644d48fec5a5c0f [diff] |
Don't try to extract an i32 from an f64. This getCopyToParts problem was noticed by the new LegalizeTypes infrastructure. In order to avoid this kind of thing in the future I've added a check that EXTRACT_ELEMENT is only used with integers. Once LegalizeTypes is up and running most likely BUILD_PAIR and EXTRACT_ELEMENT can be removed, in favour of using apints instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48294 91177308-0d34-0410-b5e6-96231b3b80d8