[llvm-commits] CVS: llvm/include/llvm/CodeGen/InstrSelectionSupport.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 15 13:48:04 PST 2003
Changes in directory llvm/include/llvm/CodeGen:
InstrSelectionSupport.h updated: 1.20 -> 1.21
---
Log message:
Remove internal helper fn
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/InstrSelectionSupport.h
diff -u llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.20 llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.21
--- llvm/include/llvm/CodeGen/InstrSelectionSupport.h:1.20 Wed Jan 15 13:21:50 2003
+++ llvm/include/llvm/CodeGen/InstrSelectionSupport.h Wed Jan 15 13:46:39 2003
@@ -81,24 +81,4 @@
unsigned& getMachineRegNum,
int64_t& getImmedValue);
-
-//---------------------------------------------------------------------------
-// Function: FixConstantOperandsForInstr
-//
-// Purpose:
-// Special handling for constant operands of a machine instruction
-// -- if the constant is 0, use the hardwired 0 register, if any;
-// -- if the constant fits in the IMMEDIATE field, use that field;
-// -- else create instructions to put the constant into a register, either
-// directly or by loading explicitly from the constant pool.
-//
-// In the first 2 cases, the operand of `minstr' is modified in place.
-// Returns a vector of machine instructions generated for operands that
-// fall under case 3; these must be inserted before `minstr'.
-//---------------------------------------------------------------------------
-
-std::vector<MachineInstr*> FixConstantOperandsForInstr (Instruction* vmInstr,
- MachineInstr* minstr,
- TargetMachine& target);
-
#endif
More information about the llvm-commits
mailing list