Git pre-commit hooks in this project are managed by pre-commit
.
Once you clone the repo locally, run pre-commit install
to install the configured pre-commit hooks.
LLVM Branch | musl Branch | Description |
---|---|---|
llvm-9.0.1 | unmodified | unmodified |
musl | unasl | modified |
-DLLVM_UNIFICO_TABLEGEN_FEATURES="-DUNIFICO_GPR_CALLING_CONV; \
-DUNIFICO_FPR_CALLING_CONV; \
-DUNIFICO_REMAT_RULES; \
-DUNIFICO_REGALLOC_RULES; \
-DUNIFICO_REG_COST; \
-DUNIFICO_INSTR_EXTENSION; \
-DUNIFICO_CHEAP_MOVES; \
-DUNIFICO_AARCH64_TWOADDR;"
- Use
llvm-config --unifico-flags
to check which of these are enabled in the current build. - The LLVM repo for Unifico is currently hosted at: https://github.com/blackgeorge-boom/llvm-unifico
- Assumes you use a local config file like
common/nettuno.defs.mk
. - For init use the
UNMODIFIED=1
flag duringmake
invocation. - This picks the right llvm and musl builds.
- Otherwise, just leave the
UNMODIFIED
undefined.
stack-ascii
: Print an ascii representation of an arm/x86 assembly file.- To install run:
pin install -e .