[PATCH] D96399: [X86][CodeGenPrepare] Try to reuse IV's incremented value instead of adding the offset

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 00:57:43 PST 2021


nikic added a comment.

>From a cursory look, the problem is likely that you're doing an unconditional call to getDT(), which will lead to unnecessary DomTree calculations. The way this function is supposed to be used is directly when checking dominance, after other checks have already been done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96399



More information about the llvm-commits mailing list