[all-commits] [llvm/llvm-project] b4498e: [IPT] Narrow scope of removeInstruction invalidati...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Oct 8 10:35:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4498e6b8d7f55e0fe9e26a5f5d21ec1a78f6fb0
      https://github.com/llvm/llvm-project/commit/b4498e6b8d7f55e0fe9e26a5f5d21ec1a78f6fb0
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2021-10-08 (Fri, 08 Oct 2021)

  Changed paths:
    M llvm/lib/Analysis/InstructionPrecedenceTracking.cpp

  Log Message:
  -----------
  [IPT] Narrow scope of removeInstruction invalidation [NFC]

We only need to invalidate if the instruction being removed is the cached "first special instruction".  If the instruction is before that one, it can't (by assumption) be special.  If it is after that one, it wasn't the first.




More information about the All-commits mailing list