[PATCH] D79680: [Attributor] Fix for a crash on RAUW when rewriting function signature

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 11 12:56:11 PDT 2020


jdoerfert added a comment.

The fix is somewhat counter intuitive or I do not understand it. Checking if we have uses before replacing *all uses* seems redundant. I guess the different type was the problem, question is if we need the RAUW at all and if so, if the type might be different in other situations.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79680/new/

https://reviews.llvm.org/D79680





More information about the llvm-commits mailing list