[PATCH] D78452: [PredicateInfo] Use new Instruction::comesBefore instead of OI (NFC).

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 02:39:23 PDT 2020


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM

> The recently added Instruction::comesBefore can be used instead of
>  maintaining a separate odereding in OrderedInstructions.

To be clear, OrderedInstructions does not maintain a separate ordering anymore, it's just a thin wrapper around `Instruction::comesBefore()` (for the local case, which is the only thing we're using here.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78452





More information about the llvm-commits mailing list