[PATCH] D87434: [CodeGenPrepare] Fix zapping dead operands of assume

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 01:46:02 PDT 2020


yrouban added a comment.

In D87434#2265247 <https://reviews.llvm.org/D87434#2265247>, @bkramer wrote:

> Thanks. Can we just wrap it in `resetIteratorIfInvalidatedWhileCalling` like the call a few lines later? That seems less error prone.

Ok, but it will be less efficient.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87434



More information about the llvm-commits mailing list