diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-27 01:46:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-27 01:46:00 +0000 |
commit | 73858d16893e4cddd97f358a19b48bd4bc57ee97 (patch) | |
tree | ac1df403d31322009d901983496a7c6c9d01f4ac /lib/Transforms/InstCombine/InstCombineVectorOps.cpp | |
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
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions