1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Dummy code to silence warning from 4189266

llvm-svn: 189272
This commit is contained in:
Bill Schmidt 2013-08-26 20:11:46 +00:00
parent 0cc0fac41e
commit 6b370e28fb
2 changed files with 11 additions and 0 deletions

View File

@ -1810,6 +1810,15 @@ SDValue PPCTargetLowering::LowerVASTART(SDValue Op, SelectionDAG &DAG,
#include "PPCGenCallingConv.inc"
// Function whose sole purpose is to kill compiler warnings
// stemming from unused functions included from PPCGenCallingConv.inc.
CCAssignFn *PPCTargetLowering::useFastISelCCs(unsigned Flag) const {
if (Flag == 1)
return RetCC_PPC64_ELF_FIS; /* CC_PPC64_ELF_FIS in future patch. */
else
return RetCC_PPC64_ELF_FIS;
}
bool llvm::CC_PPC32_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
CCValAssign::LocInfo &LocInfo,
ISD::ArgFlagsTy &ArgFlags,

View File

@ -627,6 +627,8 @@ namespace llvm {
SDValue DAGCombineFastRecip(SDValue Op, DAGCombinerInfo &DCI) const;
SDValue DAGCombineFastRecipFSQRT(SDValue Op, DAGCombinerInfo &DCI) const;
CCAssignFn *useFastISelCCs(unsigned Flag) const;
};
namespace PPC {