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

Craig Topper craig.topper at gmail.com
Wed Nov 14 08:10:51 PST 2012


I know nothing about PowerPC. I was just trying llvm.floor on different
targets.

On Wednesday, November 14, 2012, Hal Finkel wrote:

> ----- Original Message -----
> > From: "Craig Topper" <craig.topper at gmail.com <javascript:;>>
> > To: llvm-commits at cs.uiuc.edu <javascript:;>
> > 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 <javascript:;>
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
>
> --
> Hal Finkel
> Postdoctoral Appointee
> Leadership Computing Facility
> Argonne National Laboratory
>


-- 
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121114/9e88cba5/attachment.html>


More information about the llvm-commits mailing list