aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
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
commit99c27d7686c9e6f368d3913f7e4ed68176a5a70c (patch)
treed84ae54204f985e933a1a9b38db737308ad03f03 /lib/Target
parent906cd975df830020dc823820f1859732254a0443 (diff)
downloadexternal_llvm-99c27d7686c9e6f368d3913f7e4ed68176a5a70c.zip
external_llvm-99c27d7686c9e6f368d3913f7e4ed68176a5a70c.tar.gz
external_llvm-99c27d7686c9e6f368d3913f7e4ed68176a5a70c.tar.bz2
Just incorporating some notes I wrote for myself into a place where they won't
get lost... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/README.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index 4665fdf..a91eaa5 100644
--- a/lib/Target/X86/README.txt
+++ b/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