[PATCH] D78461: [IPT] Don't use OrderedInstructions (NFC)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 13:21:37 PDT 2020


nikic created this revision.
nikic added reviewers: mkazantsev, rnk, fhahn.
Herald added subscribers: llvm-commits, asbirlea.
Herald added a project: LLVM.

Use `Instruction::comesBefore()` instead of `OrderedInstructions` inside `InstructionPrecedenceTracking`. This also removes the dominator tree dependency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78461

Files:
  include/llvm/Analysis/InstructionPrecedenceTracking.h
  include/llvm/Analysis/MustExecute.h
  lib/Analysis/InstructionPrecedenceTracking.cpp
  lib/Transforms/Scalar/GVN.cpp
  lib/Transforms/Scalar/LICM.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78461.258622.patch
Type: text/x-patch
Size: 4212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200419/e604fbd7/attachment.bin>


More information about the llvm-commits mailing list