LDC with MSP430

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Jul 5 16:33:37 PDT 2017

On Wednesday, 5 July 2017 at 22:13:36 UTC, Luís Marques wrote:
> On Wednesday, 5 July 2017 at 21:16:11 UTC, Johan Engelen wrote:
>> Perhaps it's good to verify that the clang and LDC triples are 
>> the same.
> They are:
> source_filename = "test.d"
> target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
> target triple = "msp430"

Hm, doesn't really look like a "triple" (3), but OK :-)
Can you ask on the LLVM list about the `llc` failure? You may get 
a hint about how to make LDC behave the same as Clang on this 

Perhaps asking too much but, you could also try searching through 
Clang's codebase to see if there is any relevant special casing 
for the msp430 target.


More information about the digitalmars-d-ldc mailing list