llvm / llvm/llvm-project

XXXGenInstrInfo is too large which make the llvm project build process verly slowly

Open
#169,202 0 comments 0 reactions 0 assignees View on GitHub
question tablegen
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Hi guys,

We meet one issue that our instruction is 128 bits long, and very complex, which makes the XXXGenInstrInfo.inc file is very big(around 500MB),and it make the building process too slowly, any method to split it or accelerate the build process?

Image

Code line:
Image

This is our cmake configurations:

cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang" \
-DLLVM_TARGETS_TO_BUILD="XXX_Target" \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_OPTIMIZED_TABLEGEN=true \
-DBUILD_SHARED_LIBS=ON \
-DLLVM_USE_LINKER=lld \
-DLLVM_PARALLEL_LINK_JOBS=16 \
../llvm

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.