diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-04-24 00:16:04 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-04-24 00:16:04 +0000 |
| commit | 52523561d99aba13d5eaaa4f28c8287e8c4a954d (patch) | |
| tree | 2506d0af17eb3e3b6b251ac7b1e9a71b6da0d4fc /llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | |
| parent | 8653d29b45635a6e9dda294299f71865910c351f (diff) | |
| download | bcm5719-llvm-52523561d99aba13d5eaaa4f28c8287e8c4a954d.tar.gz bcm5719-llvm-52523561d99aba13d5eaaa4f28c8287e8c4a954d.zip | |
Emit module-level constants.
llvm-svn: 36384
Diffstat (limited to 'llvm/lib/Bitcode/Writer/ValueEnumerator.cpp')
| -rw-r--r-- | llvm/lib/Bitcode/Writer/ValueEnumerator.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp index 75a8c6d6d30..f4b7a760157 100644 --- a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp +++ b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp @@ -56,9 +56,12 @@ ValueEnumerator::ValueEnumerator(const Module *M) { // FIXME: std::partition the type and value tables so that first-class types - // come earlier than aggregates. + // come earlier than aggregates. FIXME: Emit a marker into the module + // indicating which aggregates types AND values can be dropped form the table. // FIXME: Sort type/value tables by frequency. + + // FIXME: Sort constants by type to reduce size. } /// EnumerateTypeSymbolTable - Insert all of the types in the specified symbol |

