llvm-project
0cfea5b7 - [BitcodeReader] Avoid quadratic complexity in intrinsic upgrade (#150032)

Commit
148 days ago
[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.
Author
Parents
Loading