tests/unaryLogical.R

library(RLLVMCompile)
f =
function(x)
  !x

fc = compileFunction(f, Int32Type, Int32Type)

.llvm(fc, 0)
.llvm(fc, 1)
duncantl/R2llvm documentation built on May 14, 2019, 9:42 a.m.