From 99c27d7686c9e6f368d3913f7e4ed68176a5a70c Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Wed, 13 Aug 2003 00:30:48 +0000 Subject: [PATCH] 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 --- lib/Target/X86/README.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 4665fdfb3f7..a91eaa57490 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