[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-commits
Subject:    RE: PATCH: DAGCombiner - Use correct value type when checking	legality of BR_CC - Changes to NVPTX,
From:       "Jyotsna Verma" <jverma () codeaurora ! org>
Date:       2013-02-28 21:57:11
Message-ID: 069201ce15fe$8fdf5de0$af9e19a0$ () codeaurora ! org
[Download RAW message or body]

Hi Tom,

For Hexagon, the BR_CC node must be expanded for i1,i32, f32 and f64.

Thanks,
Jyotsna

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation


>-----Original Message-----
>From: llvm-commits-bounces@cs.uiuc.edu [mailto:llvm-commits-
>bounces@cs.uiuc.edu] On Behalf Of Tom Stellard
>Sent: Thursday, February 28, 2013 2:40 PM
>To: Justin Holewinski
>Cc: llvm-commits; Justin Holewinski
>Subject: Re: PATCH: DAGCombiner - Use correct value type when checking
>legality of BR_CC - Changes to NVPTX, Mips, Hexagon, MBlaze, X86, and XCore
>targets
>
>On Thu, Feb 28, 2013 at 09:04:04AM -0500, Justin Holewinski wrote:
>> For NVPTX, the Expand action should be set on all of {i1, i8, i16,
>> i32, i64, f32, f64}
>>
>
>Hi Justin,
>
>I've attached an updated version of the patch with these changes.
>
>-Tom
>
>
>>
>> On Wed, Feb 27, 2013 at 6:14 PM, Tom Stellard <tom@stellard.net> wrote:
>>
>> > Here is an updated patch.  The previous version had some unrelated
>> > changes included in it.
>> >
>> > -Tom
>> >
>> > On Wed, Feb 27, 2013 at 05:21:59PM -0500, Tom Stellard wrote:
>> > > Forgot the patch...
>> > >
>> > > On Wed, Feb 27, 2013 at 05:17:32PM -0500, Tom Stellard wrote:
>> > > > Hi,
>> > > >
>> > > > The attached patch fixes a bug where the DAGCombiner was passing
>> > > > the MVT::Other value type to TLI.isOperationLegalOrCustom() for
>> > > > a BR_CC
>> > node.
>> > > > LegalizeDAG uses the value type of the comparison operands, and
>> > > > I think this is what the DAGCombiner should be using as well.
>> > > >
>> > > > I've updated the *ISelLowering files for the affected targets,
>> > > > but backend code owners should double check my work.
>> > > >
>> > > > Thanks,
>> > > > Tom
>> > > > _______________________________________________
>> > > > llvm-commits mailing list
>> > > > llvm-commits@cs.uiuc.edu
>> > > > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>> >
>> >
>> > _______________________________________________
>> > llvm-commits mailing list
>> > llvm-commits@cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>> >
>> >
>>
>>
>> --
>>
>> Thanks,
>>
>> Justin Holewinski

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic