[llvm-commits] [llvm] r167922 - /llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

Hal Finkel hfinkel at anl.gov
Wed Nov 14 00:32:56 PST 2012


----- Original Message -----
> From: "Craig Topper" <craig.topper at gmail.com>
> To: llvm-commits at cs.uiuc.edu
> Sent: Wednesday, November 14, 2012 2:11:25 AM
> Subject: [llvm-commits] [llvm] r167922 -	/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
> 
> Author: ctopper
> Date: Wed Nov 14 02:11:25 2012
> New Revision: 167922
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=167922&view=rev
> Log:
> Set FFLOOR of vectors to expand to keep intruction selection from
> failing.

We should have a test case for this. Also, this should match to the vrfim instruction, right? We already have an instruction definition, but it maps only to int_ppc_altivec_vrfim.

Thanks again,
Hal

> 
> Modified:
>     llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
> 
> Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=167922&r1=167921&r2=167922&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
> +++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Wed Nov 14
> 02:11:25 2012
> @@ -347,6 +347,7 @@
>        setOperationAction(ISD::UREM, VT, Expand);
>        setOperationAction(ISD::FDIV, VT, Expand);
>        setOperationAction(ISD::FNEG, VT, Expand);
> +      setOperationAction(ISD::FFLOOR, VT, Expand);
>        setOperationAction(ISD::EXTRACT_VECTOR_ELT, VT, Expand);
>        setOperationAction(ISD::INSERT_VECTOR_ELT, VT, Expand);
>        setOperationAction(ISD::BUILD_VECTOR, VT, Expand);
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list