[PATCH] D68626: [Attributor] Use undef for calls with unused arguments.

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 12 09:50:59 PDT 2019


sstefan1 added a comment.

I have no problem with this going in as is. I have one question though. Why do we have to wait for ValueSimplify to finish? Wouldn't it be useful for AAIsDead to have `isDeadArg(Arg)` and then ValueSimplify could use that to decide whether to simplify or not?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68626





More information about the llvm-commits mailing list