Thread overview
LLVM 3.6 released - LDC master branch/0.15.1 is ready to use it!
Feb 27, 2015
Kai Nacke
Feb 27, 2015
CraigDillabaugh
Feb 28, 2015
Dan Olson
Mar 01, 2015
Dan Olson
Mar 01, 2015
Kai Nacke
Mar 01, 2015
Dan Olson
Mar 02, 2015
Dan Olson
Mar 03, 2015
Martin Nowak
February 27, 2015
Hi all!

Finally, LLVM 3.6 has been released! See the release notes here: http://llvm.org/releases/3.6.0/docs/ReleaseNotes.html
Downloads: http://llvm.org/releases/download.html#3.6.0

Also note that LDC is mentioned in the release notes as one of the projects who are already supporting LLVM 3.6. Just recompile LDC using master branch from GitHub or from the 0.15.1 source.

This is the 6th time that LDC and D are mentioned in the LLVM release notes!

Regards,
Kai
February 27, 2015
On Friday, 27 February 2015 at 19:44:01 UTC, Kai Nacke wrote:
> Hi all!
>
> Finally, LLVM 3.6 has been released! See the release notes here: http://llvm.org/releases/3.6.0/docs/ReleaseNotes.html
> Downloads: http://llvm.org/releases/download.html#3.6.0
>
> Also note that LDC is mentioned in the release notes as one of the projects who are already supporting LLVM 3.6. Just recompile LDC using master branch from GitHub or from the 0.15.1 source.
>
> This is the 6th time that LDC and D are mentioned in the LLVM release notes!
>
> Regards,
> Kai

Congratulations! Thanks for your work on this.
February 28, 2015
"Kai Nacke" <kai@redstar.de> writes:

> Also note that LDC is mentioned in the release notes as one of the projects who are already supporting LLVM 3.6. Just recompile LDC using master branch from GitHub or from the 0.15.1 source.
>
> This is the 6th time that LDC and D are mentioned in the LLVM release notes!

That is pretty nice recognition in the release notes for both D and LDC. I going to start testing LLVM 3.6 with iOS today.  If it looks good, I'll move my forked ios branch from 3.5.1 to 3.6.
March 01, 2015
Dan Olson <zans.is.for.cans@yahoo.com> writes:

> "Kai Nacke" <kai@redstar.de> writes:
>
>> Also note that LDC is mentioned in the release notes as one of the projects who are already supporting LLVM 3.6. Just recompile LDC using master branch from GitHub or from the 0.15.1 source.
>>
>> This is the 6th time that LDC and D are mentioned in the LLVM release notes!
>
> That is pretty nice recognition in the release notes for both D and LDC. I going to start testing LLVM 3.6 with iOS today.  If it looks good, I'll move my forked ios branch from 3.5.1 to 3.6.

I got LLVM 3.6 to work but I couldn't compile with LDC 0.15.1 (looks like more 3.6 fixes came in after it) and ldc master HEAD compilation ended up with an LLVM assertion failure on OS X. I backed up to ldc commit 136fe8d and that worked for both OS X and iOS.
March 01, 2015
On Sunday, 1 March 2015 at 03:26:16 UTC, Dan Olson wrote:
> Dan Olson <zans.is.for.cans@yahoo.com> writes:
>
> I got LLVM 3.6 to work but I couldn't compile with LDC 0.15.1 (looks
> like more 3.6 fixes came in after it) and ldc master HEAD compilation
> ended up with an LLVM assertion failure on OS X. I backed up to ldc
> commit 136fe8d and that worked for both OS X and iOS.

Which assertion do you get on OS X?

Regards,
Kai
March 01, 2015
"Kai Nacke" <kai@redstar.de> writes:

> On Sunday, 1 March 2015 at 03:26:16 UTC, Dan Olson wrote:
>> Dan Olson <zans.is.for.cans@yahoo.com> writes:
>>
>> I got LLVM 3.6 to work but I couldn't compile with LDC 0.15.1 (looks
>> like more 3.6 fixes came in after it) and ldc master HEAD
>> compilation
>> ended up with an LLVM assertion failure on OS X. I backed up to ldc
>> commit 136fe8d and that worked for both OS X and iOS.
>
> Which assertion do you get on OS X?
>
> Regards,
> Kai

I didn't save the error message.  I'll have to rebuild with ldc master later today then I'll let you know.  I was using an LLVM 3.6 (github mirror release_36 branch) Debug+Asserts build.
March 02, 2015
Dan Olson <zans.is.for.cans@yahoo.com> writes:

> "Kai Nacke" <kai@redstar.de> writes:
>
>> On Sunday, 1 March 2015 at 03:26:16 UTC, Dan Olson wrote:
>>> Dan Olson <zans.is.for.cans@yahoo.com> writes:
>>>
>>> I got LLVM 3.6 to work but I couldn't compile with LDC 0.15.1 (looks
>>> like more 3.6 fixes came in after it) and ldc master HEAD
>>> compilation
>>> ended up with an LLVM assertion failure on OS X. I backed up to ldc
>>> commit 136fe8d and that worked for both OS X and iOS.
>>
>> Which assertion do you get on OS X?
>>
>> Regards,
>> Kai
>
> I didn't save the error message.  I'll have to rebuild with ldc master later today then I'll let you know.  I was using an LLVM 3.6 (github mirror release_36 branch) Debug+Asserts build.

False alarm Kai. I updated ldc to master but not runtime. Once I updated druntime to ldc branch HEAD, it builds ok. Probably the varargs change. BTW, this was the assertion I got in a bunch of modules:

Assertion failed: (getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType())->getElementType() && "Ptr must be a pointer to Val type!"), function AssertOK, file /Users/dan/projects/ldc/llvm-git/lib/IR/Instructions.cpp, line 1083.
March 03, 2015
On Friday, 27 February 2015 at 19:44:01 UTC, Kai Nacke wrote:
> This is the 6th time that LDC and D are mentioned in the LLVM release notes!

Thanks and keep up the good work.