IITH-Compilers / IR2Vec

Implementation of IR2Vec, published in ACM TACO
Other
79 stars 39 forks source link

Does the input file have to be .ll or .bc? #99

Closed LiuYang328 closed 5 months ago

LiuYang328 commented 5 months ago

Does the input file have to be .ll or .bc?

can i use .py or .cpp file to do the embedding?

svkeerthy commented 5 months ago

Hi, Yes. As of now, the input is expected to be .ll/.bc. You can generate them from C/C++ (and other LLVM-compatible sources) using an appropriate Clang compiler with -emit-llvm flag.

svkeerthy commented 5 months ago

Closing this thread for now. Please feel free to reopen if needed.