Closed chsasank closed 5 months ago
This is addressed by #15
Two tests will be added for this functionality:
arr_sum
: populating an array with the first n integers and calculating their sumtranspose
: populating a matrix as A[i, j] = i + 2*j and transposing it
The matrix will be an array of arraysClosed by #15
BRIL already has this alloc instruction which closely mirrors LLVM's instruction.
https://capra.cs.cornell.edu/bril/lang/memory.html