[PATCH] D66155: [Attributor] Liveness for internal functions.
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 15:08:35 PDT 2019
jdoerfert added inline comments.
================
Comment at: llvm/test/Transforms/FunctionAttrs/align.ll:130
+; ATTRIBUTOR: %4 = tail call i8* undef(i8* nonnull @a2)
+ %4 = tail call i8* undef(i8* nonnull @a2)
br label %5
----------------
Use this as scc test in liveness and make one of them live in this test so that all become live
================
Comment at: llvm/test/Transforms/FunctionAttrs/liveness.ll:18
+
+; CHECK: Function Attrs: nofree noreturn nosync nounwind
+; CHECK-NEXT: define internal i32 @dead_internal_func(i32 %0)
----------------
These should not be derived anymore. We stopped annotating dead stuff.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66155/new/
https://reviews.llvm.org/D66155
More information about the llvm-commits
mailing list