svn commit: r268003 - in head/contrib/llvm: lib/Target/PowerPC patches

Cy Schubert Cy.Schubert at komquats.com
Sat Jun 28 15:26:47 UTC 2014


In message <201406280953.s5S9ri9e067583 at svn.freebsd.org>, Dimitry Andric 
writes
:
> Author: dim
> Date: Sat Jun 28 09:53:44 2014
> New Revision: 268003
> URL: http://svnweb.freebsd.org/changeset/base/268003
> 
> Log:
>   Fix breakage after r267981.
>   
>   Pointy hat to:	dim
>   MFC after:	3 days
>   X-MFC-With:	r267981
> 
> Modified:
>   head/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp
>   head/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff
> 
> Modified: head/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp
> =============================================================================
> =
> --- head/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp	Sat Jun 28 05:5
> 1:45 2014	(r268002)
> +++ head/contrib/llvm/lib/Target/PowerPC/PPCFastISel.cpp	Sat Jun 28 09:5
> 3:44 2014	(r268003)
> @@ -1027,7 +1027,7 @@ bool PPCFastISel::SelectFPToI(const Inst
>      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);
> 
> Modified: head/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctidu
> z.diff
> =============================================================================
> =
> --- head/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff
> 	Sat Jun 28 05:51:45 2014	(r268002)
> +++ head/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff
> 	Sat Jun 28 09:53:44 2014	(r268003)
> @@ -32,7 +32,7 @@ Index: lib/Target/PowerPC/PPCFastISel.cp
>       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);
> 
> 

Thanks.

Looks like they changed PPCSubTarget to a pointer in llvm trunk about five 
weeks ago. :~


-- 
Cheers,
Cy Schubert <Cy.Schubert at komquats.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the svn-src-all mailing list