Skip to content

Virtual-Machine/ir-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#IR-Examples

Just a collection of some simple Crystal, C and C++ programs and their corresponding LLVM IR for learning purposes.

crystal build file.cr --emit llvm-ir --prelude=empty --no-debug #for crystal files
crystal build file.cr --emit llvm-ir --no-debug #for http.cr
clang -S -emit-llvm file.c #for c files
clang -cc1 -S -emit-llvm file.cpp #for cpp files

About

LLVM IR Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages