[PATCH] D98899: [DAE] Adjust param/arg attributes when changing parameter to undef

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 21 09:15:59 PDT 2021


nikic added a comment.

This looks reasonable to me. Dropping nonnull is not strictly necessary (because it has no immediate UB), but doesn't hurt either.

I was going to suggest using AttrBuilder to drop all attributes at once, but I'm not sure that works with dereferenceable attributes.


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