[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h
Anton Korobeynikov
asl at math.spbu.ru
Sun Jan 28 05:32:19 PST 2007
Changes in directory llvm/include/llvm/Target:
TargetLowering.h updated: 1.102 -> 1.103
---
Log message:
Propagate changes from my local tree. This patch includes:
1. New parameter attribute called 'inreg'. It has meaning "place this
parameter in registers, if possible". This is some generalization of
gcc's regparm(n) attribute. It's currently used only in X86-32 backend.
2. Completely rewritten CC handling/lowering code inside X86 backend.
Merged stdcall + c CCs and fastcall + fast CC.
3. Dropped CSRET CC. We cannot add struct return variant for each
target-specific CC (e.g. stdcall + csretcc and so on).
4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in
on first attribute has meaning 'This is hidden pointer to structure
return. Handle it gently'.
5. Fixed small bug in llvm-extract + add new feature to
FunctionExtraction pass, which relinks all internal-linkaged callees
from deleted function to external linkage. This will allow further
linking everything together.
NOTEs: 1. Documentation will be updated soon.
2. llvm-upgrade should be improved to translate csret => sret.
Before this, there will be some unexpected test fails.
---
Diffs of the changes: (+2 -0)
TargetLowering.h | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.102 llvm/include/llvm/Target/TargetLowering.h:1.103
--- llvm/include/llvm/Target/TargetLowering.h:1.102 Fri Jan 12 17:21:42 2007
+++ llvm/include/llvm/Target/TargetLowering.h Sun Jan 28 07:31:35 2007
@@ -730,6 +730,8 @@
SDOperand Node;
const Type* Ty;
bool isSigned;
+ bool isInReg;
+ bool isSRet;
};
typedef std::vector<ArgListEntry> ArgListTy;
virtual std::pair<SDOperand, SDOperand>
More information about the llvm-commits
mailing list