tests/compareDiffTypes.R

library(RLLVMCompile)

f =
function(d)
{
    d == 2L
}

gc = compileFunction(f, Int1Type, list(Int32Type))
showModule(gc)

gc = compileFunction(f, Int1Type, list(DoubleType))
showModule(gc)
duncantl/RLLVMCompile documentation built on May 15, 2019, 5:31 p.m.