π’LLVM Functions
@llvm_function
func example() {
// LLVM code here
}@llvm_function
func example() {
%add = add i32 2, 3 ; Add 2 and 3, result stored in %add
ret i32 %add ; Return the value stored in %add
}Last updated
@llvm_function
func example() {
// LLVM code here
}@llvm_function
func example() {
%add = add i32 2, 3 ; Add 2 and 3, result stored in %add
ret i32 %add ; Return the value stored in %add
}Last updated