aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse@sony.com>2024-03-19 13:39:46 +0000
committerGitHub <noreply@github.com>2024-03-19 13:39:46 +0000
commit5b59b3afe1cfe52c3c2cb9c9817ca21e589928a0 (patch)
treebfda5693d0c01b8108053f0df3c5cb1552bf402c /clang/lib/CodeGen/CodeGenFunction.cpp
parent835c1b56a82542d91c337e24140bd2b08a7bf715 (diff)
downloadllvm-5b59b3afe1cfe52c3c2cb9c9817ca21e589928a0.zip
llvm-5b59b3afe1cfe52c3c2cb9c9817ca21e589928a0.tar.gz
llvm-5b59b3afe1cfe52c3c2cb9c9817ca21e589928a0.tar.bz2
[NFC][RemoveDIs] Switch constant-hoisting to insert with iterators (#84738)
Seeing how constant-hoisting also happens to store an insertion-point in a DenseMap, this means we have to install DenseMapInfo for hashing BasicBlock::iterators and comparing them. I'm not really sure where to put the DenseMapInfo declarations as BasicBlock.h seems most logical, but that then means including DenseMap.h into pretty much all of LLVM. I've sent this up to the compile time tracker to see whether there's a major cost from this. --------- Merged by: Stephen Tozer <stephen.tozer@sony.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions