[PATCH] D146327: [ArgPromotion] Remove dead code produced by removing dead arguments
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 24 04:48:11 PDT 2023
nikic added a comment.
Minimal test case:
define internal ptr @callee(ptr %dead) {
ret ptr null
}
define void @caller() {
%ret = call ptr @callee(ptr null)
%ret2 = call ptr @callee(ptr %ret)
ret void
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146327/new/
https://reviews.llvm.org/D146327
More information about the llvm-commits
mailing list