[all-commits] [llvm/llvm-project] cd4ebb: [LazyCallGraph] Skip blockaddresses
aeubanks via All-commits
all-commits at lists.llvm.org
Mon Dec 20 10:21:49 PST 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: cd4ebb2918ae6cd938aabc3e95d5739b4d067f83
https://github.com/llvm/llvm-project/commit/cd4ebb2918ae6cd938aabc3e95d5739b4d067f83
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2021-12-20 (Mon, 20 Dec 2021)
Changed paths:
M llvm/include/llvm/Analysis/LazyCallGraph.h
A llvm/test/Analysis/LazyCallGraph/blockaddress.ll
M llvm/test/Transforms/Attributor/IPConstantProp/dangling-block-address.ll
M llvm/test/Transforms/Attributor/liveness.ll
M llvm/unittests/Analysis/LazyCallGraphTest.cpp
Log Message:
-----------
[LazyCallGraph] Skip blockaddresses
blockaddresses do not participate in the call graph since the only
instructions that use them must all return to someplace within the
current function. And passes cannot retrieve a function address from a
blockaddress.
This was suggested by efriedma in D58260.
Fixes PR50881.
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D112178
(cherry picked from commit 029f1a53448979365ab965572356b83edc82f755)
More information about the All-commits
mailing list