diff options
-rw-r--r-- | lib/Target/X86/README.txt | 14 |
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 |