Use Instruction::comesBefore() instead of OrderedInstructions inside InstructionPrecedenceTracking. This also removes the dominator tree dependency.
Details
Details
Diff Detail
Diff Detail
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 258626 include/llvm/Analysis/InstructionPrecedenceTracking.h
include/llvm/Analysis/MustExecute.h
lib/Analysis/InstructionPrecedenceTracking.cpp
lib/Transforms/Scalar/GVN.cpp
lib/Transforms/Scalar/LICM.cpp
|
Delete the default constructor.