summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-08-13 00:30:48 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-08-13 00:30:48 +0000
commitdd306efa112248971b0b3158325ebbc4b191a7f7 (patch)
tree215a07a0f35390b2ca81ca6987ff5377535dcea9
parent26a1f5fe873183ff34a55506c65077512e4da09c (diff)
downloadbcm5719-llvm-dd306efa112248971b0b3158325ebbc4b191a7f7.tar.gz
bcm5719-llvm-dd306efa112248971b0b3158325ebbc4b191a7f7.zip
Just incorporating some notes I wrote for myself into a place where they won't
get lost... llvm-svn: 7798
-rw-r--r--llvm/lib/Target/X86/README.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt
index 4665fdfb3f7..a91eaa57490 100644
--- a/llvm/lib/Target/X86/README.txt
+++ b/llvm/lib/Target/X86/README.txt
@@ -176,3 +176,17 @@ Infrastructure Improvements:
2. PassManager needs to be able to run just a single function through a pipeline
of FunctionPass's.
+
+3. X86/Printer.cpp and Sparc/EmitAssembly.cpp both have copies of what is
+ roughly the same code, used to output constants in a form the assembler
+ can understand. These functions should be shared at some point. They
+ should be rewritten to pass around iostreams instead of strings. The
+ list of functions is as follows:
+
+ isStringCompatible
+ toOctal
+ ConstantExprToString
+ valToExprString
+ getAsCString
+ printSingleConstantValue (with TypeToDataDirective inlined)
+ printConstantValueOnly
OpenPOWER on IntegriCloud