1. [AbstractCallSite][FIX] Correct faulty assertion (details)
  2. [Attributor] Ignore BlockAddress users in call site traversal (details)
Commit 4c56086f8b458bbe8300b0cbd59baaf46ea38d7c by johannes
[AbstractCallSite][FIX] Correct faulty assertion
When the Attributor run on the IPConstantProp test case for multiple
callbacks it triggered a faulty assertion in the AbstractCallSite
implementation. The callee can well be at argument position 0.
The file was modifiedllvm/include/llvm/IR/CallSite.h
The file was modifiedllvm/test/Transforms/IPConstantProp/multiple_callbacks.ll
Commit 2d77b0cad008eee612e3845769d8b08455a2176c by johannes
[Attributor] Ignore BlockAddress users in call site traversal
BlockAddress users will not "call" the function so they do not qualify
as call sites in the first place. When we delete a function with
BlockAddress users we need to first remove the body so they are properly
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll