summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-08-30 22:18:55 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-08-30 22:18:55 +0000
commit8470b0f96c0f87aa886a810e400f8204b3bb7bed (patch)
tree17ea5f8830fdd0e971b32cd2aa8caba9d007eeb7 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp
parent92d9cb4dd1fcf633e264cbacbcdcd1b5c6f10714 (diff)
downloadbcm5719-llvm-8470b0f96c0f87aa886a810e400f8204b3bb7bed.tar.gz
bcm5719-llvm-8470b0f96c0f87aa886a810e400f8204b3bb7bed.zip
[PowerPC] Call support for fast-isel.
This patch adds fast-isel support for calls (but not intrinsic calls or varargs calls). It also removes a badly-formed assert. There are some new tests just for calls, and also for folding loads into arguments on calls to avoid extra extends. llvm-svn: 189701
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index 29c2270d4ab..244e00d4380 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -1813,8 +1813,7 @@ SDValue PPCTargetLowering::LowerVASTART(SDValue Op, SelectionDAG &DAG,
// Function whose sole purpose is to kill compiler warnings
// stemming from unused functions included from PPCGenCallingConv.inc.
CCAssignFn *PPCTargetLowering::useFastISelCCs(unsigned Flag) const {
- /* One of these will be CC_PPC64_ELF_FIS in a future patch. */
- return Flag ? RetCC_PPC64_ELF_FIS : RetCC_PPC64_ELF_FIS;
+ return Flag ? CC_PPC64_ELF_FIS : RetCC_PPC64_ELF_FIS;
}
bool llvm::CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
OpenPOWER on IntegriCloud