Skip to content

Commit

Permalink
Fine tuning docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nishant-sachdeva committed May 14, 2024
1 parent 744a05e commit 02eb31e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/spec_compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- Source the install. `source shrc`
- Run the command
- `runspec --config config_clang16_cpu2006.cfg --tune=base --action=build --rebuild --define build_ncpus=1 int fp`
- Once the `.o` files are generated, run the script (`get_ll_spec.sh`) with appropriate changes to get these files together in the repo.
- Once the `.o` files are generated, run the script (`collect_ir/spec/get_ll_spec.sh`) with appropriate changes to get these files together in the repo.

## CPU 2017

Expand All @@ -27,5 +27,5 @@
- Run the command
- `runcpu --config config_clang16_cpu2017.cfg --tune=base --action=build --rebuild --define build_ncpus=1 intrate fprate intspeed fpspeed`

- Once the `.o` files are generated, run the script ([`get_ll_spec.sh`](https://github.com/IITH-Compilers/IR2Vec-Version-Upgrade-Checks/blob/main/collect_ir/spec/get_ll_SPEC.sh)) with appropriate changes to get these files together in the repo.
- Once the `.o` files are generated, run the script (`collect_ir/spec/get_ll_spec.sh`) with appropriate changes to get these files together in the repo.
- Once the ll, .o files are generated, collect them in an `ll_files.txt` file and proceed with generating the triplets.
3 changes: 3 additions & 0 deletions docs/version_upgrade_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ The following guide details the steps followed in upgrading the LLVM version sup
- The git repo `IR2Vec-Version-Upgrade-Checks` has the required scripts to be run for this process.
- The repo is available [here](https://github.com/IITH-Compilers/IR2Vec-Version-Upgrade-Checks/)
- Our relevant scripts and files will be present in the folder `collect_ir`.
- `collect_ir/spec/get_ll_files_list.py`
- `collect_ir/boost/get_ll_files_list.py`
- `collect_ir/spec/get_ll_spec.sh`
- We use the C++ Library Boost, and the CPU-SPEC source codes to generate training data.
- Download these source codes.
- Compile the relevant Boost `.c*` files with the relevant LLVM version.
Expand Down

0 comments on commit 02eb31e

Please sign in to comment.