[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 12 18:24:37 PST 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9InstrSelection.cpp updated: 1.136 -> 1.137
---
Log message:
Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* to
Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file.
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp:1.136 llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp:1.137
--- llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp:1.136 Sun Feb 29 13:12:48 2004
+++ llvm/lib/Target/SparcV9/SparcV9InstrSelection.cpp Fri Mar 12 18:23:46 2004
@@ -1398,7 +1398,7 @@
switch (iid) {
default:
assert(0 && "Unknown intrinsic function call should have been lowered!");
- case Intrinsic::va_start: {
+ case Intrinsic::vastart: {
// Get the address of the first incoming vararg argument on the stack
bool ignore;
Function* func = cast<Function>(callInstr.getParent()->getParent());
@@ -1412,10 +1412,10 @@
return true;
}
- case Intrinsic::va_end:
+ case Intrinsic::vaend:
return true; // no-op on SparcV9
- case Intrinsic::va_copy:
+ case Intrinsic::vacopy:
// Simple copy of current va_list (arg1) to new va_list (result)
mvec.push_back(BuildMI(V9::ORr, 3).
addMReg(target.getRegInfo().getZeroRegNum()).
More information about the llvm-commits
mailing list