Use Instruction::comesBefore() instead of OrderedInstructions inside InstructionPrecedenceTracking. This also removes the dominator tree dependency.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D78461
[IPT] Don't use OrderedInstructions (NFC) ClosedPublic Authored by nikic on Apr 19 2020, 1:17 PM.
Details Summary Use Instruction::comesBefore() instead of OrderedInstructions inside InstructionPrecedenceTracking. This also removes the dominator tree dependency.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 19 2020, 1:38 PM Closed by commit rG54d01cbc15ea: [IPT] Don't use OrderedInstructions (NFC) (authored by nikic). · Explain WhyApr 20 2020, 9:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 258776 llvm/include/llvm/Analysis/InstructionPrecedenceTracking.h
llvm/include/llvm/Analysis/MustExecute.h
llvm/lib/Analysis/InstructionPrecedenceTracking.cpp
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/lib/Transforms/Scalar/LICM.cpp
|