1. [SROA] Reuse existing lifetime markers if possible (details)
  2. [Attributor][FIX] Avoid modifying naked/optnone functions (details)
  3. [Attributor][FIX] Add missing function declaration in test case (details)
Commit 92694eba933ef4ea0b1b6377809ff266df37d61b by jdoerfert
[SROA] Reuse existing lifetime markers if possible
Summary: If the underlying alloca did not change, we do not necessarily
need new lifetime markers. This patch adds a check and reuses the old
ones if possible.
Reviewers: reames, ssarda, t.p.northover, hfinkel
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision:
llvm-svn: 374692
The file was modifiedllvm/lib/Transforms/Scalar/SROA.cpp (diff)
The file was addedllvm/test/Transforms/SROA/reuse_lifetime_markers.ll
Commit ea1e81f54b953ac6846578e074ff7bb265b030ca by jdoerfert
[Attributor][FIX] Avoid modifying naked/optnone functions
The check for naked/optnone was insufficient for different reasons. We
now check before we initialize an abstract attribute and we do it for
all abstract attributes.
llvm-svn: 374694
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp (diff)
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll (diff)
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h (diff)
Commit 9daf51910b11081a24674cc0822b898a5e19347d by jdoerfert
[Attributor][FIX] Add missing function declaration in test case
llvm-svn: 374696
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll (diff)