diff options
author | Nikita Popov <npopov@redhat.com> | 2025-07-23 09:52:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-23 09:52:05 +0200 |
commit | 0cfea5b73cadfcf408f3549ff209fba4f56f9138 (patch) | |
tree | 7146fda912c40d21ec45290dfea28edd940891a7 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b59aaf7da7a7121bf0263243fcec6a5fd6db1a2b (diff) | |
download | llvm-0cfea5b73cadfcf408f3549ff209fba4f56f9138.zip llvm-0cfea5b73cadfcf408f3549ff209fba4f56f9138.tar.gz llvm-0cfea5b73cadfcf408f3549ff209fba4f56f9138.tar.bz2 |
[BitcodeReader] Avoid quadratic complexity in intrinsic upgrade (#150032)
When materializing a function, we'd upgrade all calls to all upgraded
intrinsics. However, this would operate on all calls to the intrinsic
(including previously materialized ones), which leads to quadratic
complexity.
Instead, only upgrade the calls that are in the materialized function.
This fixes a compile-time regression introduced by #149310.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions