aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BuildLibCalls.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-03-12 15:16:51 +0100
committerGitHub <noreply@github.com>2025-03-12 15:16:51 +0100
commit190063464e12d730eef27873ce985e15a5eeee0b (patch)
tree11d1ba845f092e837c6ce19250274eb26a82884d /llvm/lib/Transforms/Utils/BuildLibCalls.cpp
parentcbeae3e117b8fb78e61ad7b49702a7d8033a529d (diff)
downloadllvm-190063464e12d730eef27873ce985e15a5eeee0b.zip
llvm-190063464e12d730eef27873ce985e15a5eeee0b.tar.gz
llvm-190063464e12d730eef27873ce985e15a5eeee0b.tar.bz2
[MC] Speed up checkFeatures() (NFCI) (#130936)
checkFeatures() currently goes through ApplyFeatureFlag(), which will also handle implied features. This is very slow -- just querying every feature once takes up 10% of a Rust hello world compile. However, if we only want to query whether certain features are set/unset, we can do so directly -- implied features have already been handled when the FeatureBitset was constructed.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BuildLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions