diff options
author | Nikita Popov <npopov@redhat.com> | 2022-03-03 15:18:15 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-03-03 15:20:11 +0100 |
commit | 1b6663a10458ab2bb242f8f28940dd3ea1271e70 (patch) | |
tree | bd6df4a428573c1fc60d0a8f3807365d5f46196c /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 0f261256e01f55aac04cf271f238e36fda8013d5 (diff) | |
download | llvm-1b6663a10458ab2bb242f8f28940dd3ea1271e70.zip llvm-1b6663a10458ab2bb242f8f28940dd3ea1271e70.tar.gz llvm-1b6663a10458ab2bb242f8f28940dd3ea1271e70.tar.bz2 |
[FuncSpec] Remove unnecessary function pointer type check
We will check a bit later that the constant is in fact a function,
so the separate check for a function pointer type is largely
redunant. Also simplify the cast stripping with
stripPointerCasts().
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions