[legup-dev] LegUP using LLVM-IR as input?
stuart.byma at epfl.ch
Wed Jul 1 13:27:40 EDT 2015
For what it's worth, I've been able to do this. You will need to make sure that the LLVM bitcode you are supplying is compatible with the rest of Legup. Other than that, all you need to do is modify one of the build makefiles to skip the front end Clang compilation, and simply supply your own .bc file. I don't remember which makefile off-hand though.
From: legup-dev-bounces at legup.org [legup-dev-bounces at legup.org] on behalf of Ng, Chun [nickng at imperial.ac.uk]
Sent: Wednesday, July 01, 2015 7:19 PM
To: legup-dev at legup.org
Subject: [legup-dev] LegUP using LLVM-IR as input?
I would like to know whether it is possible to use LLVM-IR (possibly generated from other LLVM frontends) as input to the LegUP framework and generate Verilog?
In the FPGA'11 paper, step (1) of the workflow is described as normal compilation, so it sounds like it should be possible, unless the input to LLVM is dependent on specific (lack of) features from C frontend/clang.
Thanks in advance!
E: nickng at imperial.ac.uk
legup-dev mailing list
legup-dev at legup.org
More information about the legup-dev