A pass that aims to remove dead stores on LLVM using cloning techniques.
- Clone the project on the folder lib/Transforms/ of your llvm installation
- You can compile it either using Makefile or cmake
- Load the module on you opt command line, and specify the pass name, for example:
opt -load /path/to/your/module/LLVMDSE.so -dead-store-elimination module.ll
In order to acquire more precision, we recommend using Tristan's llvm alias analysis from here.