aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-17 23:18:22 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-18 00:00:15 +0200
commit9d2b8300b768715bb3e0e151de37136f29b29590 (patch)
treedbaccc31bcd5bbbc8a4863ee27b5c0e306de3a01 /clang/lib/CodeGen/CodeGenFunction.cpp
parent3c6fe0fc775781333eed591bf9e67e7c14810aa0 (diff)
downloadllvm-9d2b8300b768715bb3e0e151de37136f29b29590.zip
llvm-9d2b8300b768715bb3e0e151de37136f29b29590.tar.gz
llvm-9d2b8300b768715bb3e0e151de37136f29b29590.tar.bz2
[BasicAA] Avoid alias query if result cannot be used (NFCI)
Rather then querying first and then checking additional conditions, check the conditions first. They are much cheaper than the alias query.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions