Skip to content

alex-s168/etca-llvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LLVM For ETC.A

This is currently work in progress. Use at your own risk.

Compiling LLVM

To compile LLVM with only the ETC.A backend:

cmake -B build -S llvm -G Ninja -DLLVM_ENABLE_PROJECTS=llvm -DLLVM_PARALLEL_{COMPILE,LINK}_JOBS=$(nproc) -DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="Etca" -DCMAKE_BUILD_TYPE=Debug
ninja -C build -j$(nproc)

Testing

To compile the LLVM IR file in.ll, simply run this command to generate a assembly file (out.s)

build/bin/llc --mtriple etca -filetype=asm -o out.s < in.ll

About

Fork of LLVM to add an ETC.A target

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • LLVM 41.4%
  • C++ 31.2%
  • C 13.1%
  • Assembly 9.9%
  • MLIR 1.4%
  • Python 0.8%
  • Other 2.2%