aboutsummaryrefslogtreecommitdiff
path: root/libc/src/sys/select
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2025-10-02 12:05:43 +0200
committerGitHub <noreply@github.com>2025-10-02 12:05:43 +0200
commit7ccb5c08f0685d4787f12c3224a72f0650c5865e (patch)
tree6c79abda0fee5c2595040319d787cce37a4f5826 /libc/src/sys/select
parent3c391877c10b5fea24b4c44cb8631a15d4cb809c (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
Thread Safety Analysis: Optimize LocalVariableMap's canonical reference computation (#161600)HEADmain
We observed slowdowns in auto-generated million+ line C++ source files due to recent fixes to LocalVariableMap. Rather than recompute the canonical underlying non-reference VarDefinition every time we need to perform variable definition intersection at CFG merge points, pre-compute the canonical references once on construction. Ensure to maintain the invariant that if both the direct and canonical reference are being invalidated, both become 0. Reported-by: Bogdan Graur <bgraur@google.com>
Diffstat (limited to 'libc/src/sys/select')
0 files changed, 0 insertions, 0 deletions