Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2016-02-11 Thread Hans Wennborg via cfe-commits
On Tue, Sep 8, 2015 at 1:06 AM, John McCall via cfe-commits wrote: > Author: rjmccall > Date: Tue Sep 8 03:05:57 2015 > New Revision: 246985 > > URL: http://llvm.org/viewvc/llvm-project?rev=246985&view=rev > Log: > Compute and preserve alignment more faithfully in IR-generation. Might be worth m

Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2015-09-29 Thread John McCall via cfe-commits
> On Sep 27, 2015, at 5:56 PM, Joerg Sonnenberger > wrote: > On Tue, Sep 08, 2015 at 08:06:00AM -, John McCall via cfe-commits wrote: >> Author: rjmccall >> Date: Tue Sep 8 03:05:57 2015 >> New Revision: 246985 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=246985&view=rev >> Log: >> Co

Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2015-09-28 Thread John McCall via cfe-commits
> On Sep 27, 2015, at 5:56 PM, Joerg Sonnenberger > wrote: > On Tue, Sep 08, 2015 at 08:06:00AM -, John McCall via cfe-commits wrote: >> Author: rjmccall >> Date: Tue Sep 8 03:05:57 2015 >> New Revision: 246985 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=246985&view=rev >> Log: >> Co

Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2015-09-27 Thread Joerg Sonnenberger via cfe-commits
On Tue, Sep 08, 2015 at 08:06:00AM -, John McCall via cfe-commits wrote: > Author: rjmccall > Date: Tue Sep 8 03:05:57 2015 > New Revision: 246985 > > URL: http://llvm.org/viewvc/llvm-project?rev=246985&view=rev > Log: > Compute and preserve alignment more faithfully in IR-generation. This s

Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2015-09-10 Thread Chandler Carruth via cfe-commits
On Thu, Sep 10, 2015 at 7:27 PM John McCall wrote: > On Sep 10, 2015, at 16:09, Chandler Carruth wrote: > > > On Thu, Sep 10, 2015 at 3:26 PM John McCall wrote: > >> On Sep 10, 2015, at 3:22 PM, Chandler Carruth >> wrote: >> >> I've reproduced this with the same technique. >> >> John, let me k

Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2015-09-08 Thread Steven Wu via cfe-commits
Thanks. Committed in r247117. Steven > On Sep 8, 2015, at 6:32 PM, John McCall wrote: > >> On Sep 8, 2015, at 6:19 PM, Steven Wu wrote: >> CreateElementBitcast doesn’t seem to do what the name suggested. If you give >> it VTy, it doesn’t grab the element type to generate bitcast. Is this >>

Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2015-09-08 Thread John McCall via cfe-commits
> On Sep 8, 2015, at 6:19 PM, Steven Wu wrote: > CreateElementBitcast doesn’t seem to do what the name suggested. If you give > it VTy, it doesn’t grab the element type to generate bitcast. Is this > by-design? If so, I need to do this: > PtrOp0 = Builder.CreateElementBitCast(PtrOp0, VTy->getEle

Re: r246985 - Compute and preserve alignment more faithfully in IR-generation.

2015-09-08 Thread Steven Wu via cfe-commits
CreateElementBitcast doesn’t seem to do what the name suggested. If you give it VTy, it doesn’t grab the element type to generate bitcast. Is this by-design? If so, I need to do this: PtrOp0 = Builder.CreateElementBitCast(PtrOp0, VTy->getElementType()); Steven >> On Sep 8, 2015, at 5:14 PM, St