[PATCH] D98899: [DAE] Adjust param/arg attributes when changing parameter to undef
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 21 09:51:57 PDT 2021
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:323
+ CB->removeParamAttr(ArgNo, Attribute::NonNull);
+
++NumArgumentsReplacedWithUndef;
----------------
There should be a helper that populates a list of attributes we should drop when transforming something to undef.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98899/new/
https://reviews.llvm.org/D98899
More information about the llvm-commits
mailing list