aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-09-04 11:20:28 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-09-09 00:52:17 -0500
commit849146ba93fe14989ea0b727b055854b23e5c5e5 (patch)
treec4eb6dd8da8fce31cb247628665f282749bbcaa2 /llvm/lib/CodeGen/StackMaps.cpp
parentcefd2a2c705877feebd909a8537b89a8d1d575cc (diff)
downloadllvm-849146ba93fe14989ea0b727b055854b23e5c5e5.zip
llvm-849146ba93fe14989ea0b727b055854b23e5c5e5.tar.gz
llvm-849146ba93fe14989ea0b727b055854b23e5c5e5.tar.bz2
[Attributor] Associate the callback callee with a call site argument (if any)
If we have a callback, call site arguments were already associated with the callback callee. Now we also associate the function with the callback callee, thus we know ensure that the following holds true (if all return nonnull): `getAssociatedArgument()->getParent() == getAssociatedFunction()` To test this an early exit from `AAMemoryBehaviorCallSiteArgument::initialize`` is included as well. Without the change to getAssociatedFunction() this kind of early exit for declarations would cause callback call site arguments to miss out.
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions