Minor change in comments.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 10 Jul 2002 21:29:22 +0000 (21:29 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 10 Jul 2002 21:29:22 +0000 (21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2853 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/MachineInstrInfo.h
include/llvm/Target/TargetInstrInfo.h

index 81920ccc1a43b5195a51838d09ae8f1722ce73de..6a0ff0a85eab362e2d2d51627100fb7982a593a1 100644 (file)
@@ -248,15 +248,16 @@ public:
   // GlobalValue, viz., the constant address of a global variable or function.
   // The generated instructions are returned in `mvec'.
   // Any temp. registers (TmpInstruction) created are recorded in mcfi.
-  // Any stack space required is allocated via mcff.
+  // Symbolic constants or constants that must be accessed from memory
+  // are added to the constant pool via MachineCodeForMethod::get(F).
   // 
   virtual void  CreateCodeToLoadConst(const TargetMachine& target,
                                       Function* F,
                                       Value* val,
                                       Instruction* dest,
                                       std::vector<MachineInstr*>& mvec,
-                                      MachineCodeForInstruction& mcfi)const=0;
-
+                                      MachineCodeForInstruction& mcfi) const=0;
+  
   // Create an instruction sequence to copy an integer value `val'
   // to a floating point value `dest' by copying to memory and back.
   // val must be an integral type.  dest must be a Float or Double.
index 81920ccc1a43b5195a51838d09ae8f1722ce73de..6a0ff0a85eab362e2d2d51627100fb7982a593a1 100644 (file)
@@ -248,15 +248,16 @@ public:
   // GlobalValue, viz., the constant address of a global variable or function.
   // The generated instructions are returned in `mvec'.
   // Any temp. registers (TmpInstruction) created are recorded in mcfi.
-  // Any stack space required is allocated via mcff.
+  // Symbolic constants or constants that must be accessed from memory
+  // are added to the constant pool via MachineCodeForMethod::get(F).
   // 
   virtual void  CreateCodeToLoadConst(const TargetMachine& target,
                                       Function* F,
                                       Value* val,
                                       Instruction* dest,
                                       std::vector<MachineInstr*>& mvec,
-                                      MachineCodeForInstruction& mcfi)const=0;
-
+                                      MachineCodeForInstruction& mcfi) const=0;
+  
   // Create an instruction sequence to copy an integer value `val'
   // to a floating point value `dest' by copying to memory and back.
   // val must be an integral type.  dest must be a Float or Double.