aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcISelLowering.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-19 19:53:46 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-19 19:53:46 +0000
commita786c7b90cfacf1c36c975ad35c3b793c232e3d8 (patch)
tree0f2a632a6baa1c081b286a8fc0da5238666e530c /lib/Target/Sparc/SparcISelLowering.h
parentb46aaa3874d2753632c48400c66be1a10ac18d42 (diff)
downloadexternal_llvm-a786c7b90cfacf1c36c975ad35c3b793c232e3d8.zip
external_llvm-a786c7b90cfacf1c36c975ad35c3b793c232e3d8.tar.gz
external_llvm-a786c7b90cfacf1c36c975ad35c3b793c232e3d8.tar.bz2
Don't override LowerArguments in the SPARC backend. In addition to
being more consistent with other backends, this makes the SPARC backend deal with functions with arguments with illegal types correctly, which fixes some tests in test/CodeGen/Generic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76375 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcISelLowering.h')
-rw-r--r--lib/Target/Sparc/SparcISelLowering.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/Sparc/SparcISelLowering.h b/lib/Target/Sparc/SparcISelLowering.h
index 27ce1b7..37fb29d 100644
--- a/lib/Target/Sparc/SparcISelLowering.h
+++ b/lib/Target/Sparc/SparcISelLowering.h
@@ -44,6 +44,7 @@ namespace llvm {
public:
SparcTargetLowering(TargetMachine &TM);
virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG);
+ SDValue LowerFORMAL_ARGUMENTS(SDValue Op, SelectionDAG &DAG);
int getVarArgsFrameOffset() const { return VarArgsFrameOffset; }
@@ -57,9 +58,6 @@ namespace llvm {
const SelectionDAG &DAG,
unsigned Depth = 0) const;
- virtual void LowerArguments(Function &F, SelectionDAG &DAG,
- SmallVectorImpl<SDValue> &ArgValues,
- DebugLoc dl);
virtual MachineBasicBlock *EmitInstrWithCustomInserter(MachineInstr *MI,
MachineBasicBlock *MBB) const;