aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-13 18:38:20 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-13 18:58:05 +0200
commit6713332fddb796f5b14fcb6a7e5d36979676e4ab (patch)
tree2dee67d6c203b76c7cd21e78b1e173c4a7fa5840 /clang/lib/Frontend/CompilerInvocation.cpp
parent0c15a1b4bcefc1eb434e07aa31b7a08109ccd27e (diff)
downloadllvm-6713332fddb796f5b14fcb6a7e5d36979676e4ab.zip
llvm-6713332fddb796f5b14fcb6a7e5d36979676e4ab.tar.gz
llvm-6713332fddb796f5b14fcb6a7e5d36979676e4ab.tar.bz2
[LoopVersioningLICM] Fix noalias metadata emission
The previous code added the scope on each iteration, so that the same scope was represented many times in the same !noalias metadata. That's legal, and semantically equivalent to only storing the scope once, but it's also wasteful and may pessimize further optimization if AATags get intersected naively, as done by the AliasSetTracker.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions