Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 932 Bytes

File metadata and controls

34 lines (23 loc) · 932 Bytes

KernelFaRer

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 build

For examples, please see C++ examples

Unit tests

Make sure you have lit installed.

$ pip install lit

Then use the helper script to run unit tests:

$ ./scripts/kernelfarer-lit ./lit-tests

TODOs:

  • Enable recognition in the presence of llvm.fmuladd.*