Commit 482209af authored by guruhegde's avatar guruhegde

Update README

parent e2573aea
# TAS-OPT
## Getting Started
TAS-OPT implements optimisation to enhance cache locality in network packet processing code.
It also contains contorl flow linearization transform.
### Prerequisites
......@@ -19,16 +21,13 @@ $ cmake ..
$ make
```
## To test the Pass
Use `opt` tool to load the pass and invoke in llvm pass pipeline.
Running below command from `build` directory:
```
$ opt -load lib/libLLVMHelloFunction.so -hello < examples/hello_world.bc > /dev/null
```
Expected output:
## To run unit tests
```
Hello: main
$ cd build/bin
command: ./tests <TEST_DIR_PATH>
In our case test files are in $PROJECT_ROOT/test/unittests/input
$./tests ../../test/unittests/input/
```
## Documentation
Few design notes can be found in the project wiki.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment