[PATCH] D68004: [InstCombine] Fix call guard difference with dbg

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 01:16:46 PDT 2019


lebedev.ri added a comment.

In D68004#1681802 <https://reviews.llvm.org/D68004#1681802>, @apilipenko wrote:

> We should just skip debug instructions while looking for the guard in the window. Just use getNextNonDebugInstruction instead of current getNextNode.


+1. Also needs a test?


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

https://reviews.llvm.org/D68004





More information about the llvm-commits mailing list