aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-13 23:43:57 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-14 17:18:28 +0100
commit53ae96d4bb4976c458b5c50e00782980efba9ded (patch)
tree62185ee5f22a145fdac19099ff4a5a83f7b6f59b /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent728803ed74e26b370600002dcffe4994ce3ec37a (diff)
downloadllvm-53ae96d4bb4976c458b5c50e00782980efba9ded.zip
llvm-53ae96d4bb4976c458b5c50e00782980efba9ded.tar.gz
llvm-53ae96d4bb4976c458b5c50e00782980efba9ded.tar.bz2
[BasicAA] Avoid duplicate query for GEPs with identical offsets (NFCI)
For two GEPs with identical offsets, we currently first perform a base address query without size information, and then if it is MayAlias, perform another with size information. This is pointless, as the latter query should produce strictly better results. This was not quite true historically due to the way that NoAlias assumptions were handled, but that issue has since been resolved.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions