aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2020-08-30 14:14:33 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-09-09 01:38:25 -0500
commitd445b6dfec13cdf9b9cb01582ec93548ea30ed0e (patch)
treeadafe5a9448cb58f8681b70c1eeb5a147ecebba4 /llvm/lib/CodeGen/StackMaps.cpp
parent6a9a0bfc3350efc0fc7fabec9a1fef94f4e9cc86 (diff)
downloadllvm-d445b6dfec13cdf9b9cb01582ec93548ea30ed0e.zip
llvm-d445b6dfec13cdf9b9cb01582ec93548ea30ed0e.tar.gz
llvm-d445b6dfec13cdf9b9cb01582ec93548ea30ed0e.tar.bz2
[Attributor] Cleanup `::initialize` of various AAs
This commit cleans up the ::initialize method of various AAs in the following ways: - If an associated function is required, give up on declarations. This was discovered as a real problem when lots of llvm.dbg.XXX call sites were assumed `noreturn` until proven otherwise. That does not make any sense and caused huge regressions and missed deductions. - Require more associated declarations for function interface AAs. - Use the IRAttribute::initialize to determine if function interface AAs can be used in IPO, don't replicate the checks (especially isFunctionIPOAmendable) all over the place. Arguably the function declaration check should be moved to some central place to.
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions