[PATCH 2/5] R600: Remove duplicate setting of SELECT expansion.

Tom Stellard tom at stellard.net
Mon Apr 21 13:52:45 PDT 2014


On Sun, Apr 20, 2014 at 04:57:52PM -0400, Jan Vesely wrote:
> It's already set in AMDGPUISelLowering for all GPUs
> 
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>

LGTM.

> ---
>  lib/Target/R600/R600ISelLowering.cpp | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/lib/Target/R600/R600ISelLowering.cpp b/lib/Target/R600/R600ISelLowering.cpp
> index a6304d8..80e2782 100644
> --- a/lib/Target/R600/R600ISelLowering.cpp
> +++ b/lib/Target/R600/R600ISelLowering.cpp
> @@ -82,9 +82,7 @@ R600TargetLowering::R600TargetLowering(TargetMachine &TM) :
>    setOperationAction(ISD::SELECT, MVT::i32, Expand);
>    setOperationAction(ISD::SELECT, MVT::f32, Expand);
>    setOperationAction(ISD::SELECT, MVT::v2i32, Expand);
> -  setOperationAction(ISD::SELECT, MVT::v2f32, Expand);
>    setOperationAction(ISD::SELECT, MVT::v4i32, Expand);
> -  setOperationAction(ISD::SELECT, MVT::v4f32, Expand);
>  
>    // Expand sign extension of vectors
>    if (!Subtarget->hasBFE())
> -- 
> 1.9.0
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list