diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-17 23:18:22 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-18 00:00:15 +0200 |
commit | 9d2b8300b768715bb3e0e151de37136f29b29590 (patch) | |
tree | dbaccc31bcd5bbbc8a4863ee27b5c0e306de3a01 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 3c6fe0fc775781333eed591bf9e67e7c14810aa0 (diff) | |
download | llvm-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