[PATCH] D110863: X86InstrInfo: Do not stop on flag users between flag producers

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 1 09:51:02 PDT 2021


MatzeB added a comment.

In D110863#3036078 <https://reviews.llvm.org/D110863#3036078>, @pengfei wrote:

> I have concern about the live interval of eflags. If we killed the eflags after the first use, we are free to insert or schedule instructions that implicit-def eflags. Will these be affected if we keep eflags alive?

When searching for candidates in the main search (the `for` loops in line 4298/4299) we never search further than the first instruction that modifies EFLAGS (see line 4351).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110863



More information about the llvm-commits mailing list