4 ms·
LLVM is as much a virtual machine as the "C Virtual Machine" from the spec is. To my knowledge there are no LLVM IR interpreters.
by tawaypol 5y ago
LLVM is as much a virtual machine as the "C Virtual Machine" from the spec is. To my knowledge there are no LLVM IR interpreters.
- The_rationalist 5y agohttps://llvm.org/docs/tutorial/BuildingAJIT1.html https://llvm.org/docs/tutorial/BuildingAJIT1.html
- pjmlp 5y agowatchOS uses an Apple flavour of LLVM bitcode as executable format. GraalVM also supports LLVM IR.
- saagarjha 5y agowatchOS does not support executing LLVM IR, or runs normal ARM code with a somewhat tweaked ABI that’s generated from Bitcode.
- pjmlp 5y agoExecutable format does not mean it is executed directly, rather the format used for the executable files shipped into the store, which then does the AOT compilation for the specific version of watchOS. Better now?
- saagarjha 5y agoThat is accurate, but not probably not the definition this thread was using for “executable”.