explorations/gep.R

library(RLLVMCompile)

f = function(x) {
       x[2]
   }

# This will seg fault since not subsettable. Catch. Fixed now.
# compileFunction(f, Int32Type, list(Int32Type))

compileFunction(f, Int32Type, list(pointerType(Int32Type)))
duncantl/RLLVMCompile documentation built on May 15, 2019, 5:31 p.m.