[all-commits] [llvm/llvm-project] 31cc0a: [BasicAA] Delay getAllocTypeSize() call (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Sep 13 01:25:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 31cc0ab321441b8666406a09c2dfa3acd508959e
https://github.com/llvm/llvm-project/commit/31cc0ab321441b8666406a09c2dfa3acd508959e
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-09-13 (Tue, 13 Sep 2022)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
Log Message:
-----------
[BasicAA] Delay getAllocTypeSize() call (NFC)
This call is expensive, so don't perform it for zero indices.
Also rename the variable to use Alloc rather than Alloca, this
doesn't have anything to do with allocas in particular.
More information about the All-commits
mailing list