[PATCH] D57149: [StackProtector] Skip analysing dead users in HasAddressTaken, PR40436

Matt Davis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 6 10:28:43 PST 2019


mattd added a comment.

Hi @uabelho

The test case in your patch definitely causes a problem, but that's because the -start-before/-stop-after is used.  If I run that same test through llc, the UnreachableBlockElim pass kicks-in and drops the dead code.
I took a look at the code in your Janurary 24th comment.  I was unable to get the same dead block to surface, but most likely I had the wrong flag set.  How did you build the sample in that comment?


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

https://reviews.llvm.org/D57149





More information about the llvm-commits mailing list