Targeting Vulkan and SPIR-V

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 6 23:50:33 PST 2015


On Saturday, 7 March 2015 at 03:57:15 UTC, deadalnix wrote:
> On Saturday, 7 March 2015 at 02:18:22 UTC, Iain Buclaw wrote:
>> Unlike LDC, GDC doesn't need to be *made* to target anything.  
>> It's IR is
>> high level enough that you don't need to think (nor care) 
>> about your
>> backend target.
>>
>> GCC itself will need a backend to support it though.  ;)
>>
>> Iain
>
> Why is that unlike LDC ? LLVM IR is fairly high level (for a 
> compiler IR), is there some specific blocker you are aware of ?

Bitcode has target-depedent opcodes.

http://llvm.org/devmtg/2011-09-16/EuroLLVM2011-MoreTargetIndependentLLVMBitcode.pdf



More information about the Digitalmars-d mailing list