commit | 73858d16893e4cddd97f358a19b48bd4bc57ee97 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Jan 27 01:46:00 2012 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Jan 27 01:46:00 2012 +0000 |
tree | ac1df403d31322009d901983496a7c6c9d01f4ac | |
parent | f983da030e8295ae0f9a74d1185f999485f792b3 [diff] |
Rewrite CanShareConstantPoolEntry to be implemented in terms of the mid-level constant folding APIs instead of doing its own analysis. This makes it more general (e.g. can now share a <2 x i64> with a <4 x i32>) and avoid duplicating a bunch of logic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149111 91177308-0d34-0410-b5e6-96231b3b80d8