From 08e09c6e1345e0487589ec9370f6161362e74714 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jun 2014 09:53:44 +0000 Subject: [PATCH] Fix breakage after r267981. Pointy hat to: dim MFC after: 3 days X-MFC-With: r267981 --- contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp | 2 +- .../patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp b/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp index 47ec109a543..970c804e71e 100644 --- a/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp +++ b/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp @@ -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); diff --git a/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff b/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff index e64f8d33f56..2cfb93ea36c 100644 --- a/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff +++ b/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff @@ -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);