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/R2llvm documentation built on May 14, 2019, 9:42 a.m.