diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-10 21:29:22 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-10 21:29:22 +0000 |
commit | 075ee8a8364743f96e3a7f93b3b36eeb534dc7f9 (patch) | |
tree | b2b0746df3fbf13cdfdd20165a361f2fe02f6f79 | |
parent | 5a9f63ef4e1211e91636ce99be4c334e17361c06 (diff) | |
download | bcm5719-llvm-075ee8a8364743f96e3a7f93b3b36eeb534dc7f9.tar.gz bcm5719-llvm-075ee8a8364743f96e3a7f93b3b36eeb534dc7f9.zip |
Minor change in comments.
llvm-svn: 2853
-rw-r--r-- | llvm/include/llvm/Target/MachineInstrInfo.h | 7 | ||||
-rw-r--r-- | llvm/include/llvm/Target/TargetInstrInfo.h | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/llvm/include/llvm/Target/MachineInstrInfo.h b/llvm/include/llvm/Target/MachineInstrInfo.h index 81920ccc1a4..6a0ff0a85ea 100644 --- a/llvm/include/llvm/Target/MachineInstrInfo.h +++ b/llvm/include/llvm/Target/MachineInstrInfo.h @@ -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. diff --git a/llvm/include/llvm/Target/TargetInstrInfo.h b/llvm/include/llvm/Target/TargetInstrInfo.h index 81920ccc1a4..6a0ff0a85ea 100644 --- a/llvm/include/llvm/Target/TargetInstrInfo.h +++ b/llvm/include/llvm/Target/TargetInstrInfo.h @@ -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. |