KernelFaRer: Replacing Native-Code Idioms with High-Performance Library Calls (Preprint)
by
João P. L. de Carvalho, Braedy Kuzma, Ivan Korostelev, José Nelson Amaral, Christopher Barton, José Moreira, and Guido Araujo.
Please follow the instructions bellow to compile KernelFaRer:
$ git clone https://github.com/jaopaulolc/KernelFaRer.git
$ cd KernelFaRer
KernelFaRer $ cmake -B build -S . -DLLVM_DIR=$(llvm-config --cmakedir)
KernelFaRer $ cmake --build buildFor examples, please see C++ examples
Make sure you have lit installed.
$ pip install litThen use the helper script to run unit tests:
$ ./scripts/kernelfarer-lit ./lit-tests- Enable recognition in the presence of
llvm.fmuladd.*