diff options
author | Nikita Popov <npopov@redhat.com> | 2025-03-12 15:16:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 15:16:51 +0100 |
commit | 190063464e12d730eef27873ce985e15a5eeee0b (patch) | |
tree | 11d1ba845f092e837c6ce19250274eb26a82884d /llvm/lib/Transforms/Utils/BuildLibCalls.cpp | |
parent | cbeae3e117b8fb78e61ad7b49702a7d8033a529d (diff) | |
download | llvm-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