OSDN Git Service

Just incorporating some notes I wrote for myself into a place where they won't
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 13 Aug 2003 00:30:48 +0000 (00:30 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 13 Aug 2003 00:30:48 +0000 (00:30 +0000)
get lost...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7798 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index 4665fdf..a91eaa5 100644 (file)
@@ -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