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 | 7ba81830ff717736940a48a53508eb3c7e90b32e (patch) | |
tree | ebddbfd90eb8fc244832b959fdbaa0dc9ce104ab /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 111d6ee655738400fae3bcdbd5f4bb5192ef4f1c (diff) | |
download | bcm5719-llvm-7ba81830ff717736940a48a53508eb3c7e90b32e.tar.gz bcm5719-llvm-7ba81830ff717736940a48a53508eb3c7e90b32e.zip |
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.
llvm-svn: 149111
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions