### Compile
```bash
cd external  # from project root
mkdir build && cd build
cmake -DLLVM_DIR=<llvm_dir>/lib/cmake/llvm ..
```

To resolve the issue of duplicate pass definitions, please use an LLVM toolchain compiled with dynamic linking (`-DBUILD_SHARED_LIBS=ON`), or integrate this pass into the LLVM source code for compilation alongside it, rather than compiling it as a plugin.