Fix breakage after r267981.

Pointy hat to:	dim
MFC after:	3 days
X-MFC-With:	r267981
This commit is contained in:
Dimitry Andric 2014-06-28 09:53:44 +00:00
parent b0bc0cadbe
commit 08e09c6e13
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268003
2 changed files with 2 additions and 2 deletions

View File

@ -1027,7 +1027,7 @@ bool PPCFastISel::SelectFPToI(const Instruction *I, bool IsSigned) {
return false;
// If we don't have FCTIDUZ and we need it, punt to SelectionDAG.
if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget->hasFPCVT())
if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget.hasFPCVT())
return false;
Value *Src = I->getOperand(0);

View File

@ -32,7 +32,7 @@ Index: lib/Target/PowerPC/PPCFastISel.cpp
return false;
+ // If we don't have FCTIDUZ and we need it, punt to SelectionDAG.
+ if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget->hasFPCVT())
+ if (DstVT == MVT::i64 && !IsSigned && !PPCSubTarget.hasFPCVT())
+ return false;
+
Value *Src = I->getOperand(0);