diff options
Diffstat (limited to 'backend/lib/CodeGen/MachineLICM.cpp')
| -rw-r--r-- | backend/lib/CodeGen/MachineLICM.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/backend/lib/CodeGen/MachineLICM.cpp b/backend/lib/CodeGen/MachineLICM.cpp index 870810b..6d76d5d 100644 --- a/backend/lib/CodeGen/MachineLICM.cpp +++ b/backend/lib/CodeGen/MachineLICM.cpp @@ -321,13 +321,6 @@ const MachinePassContract &MachineLICMPass::contract() const noexcept { Expected<MachinePassResult> MachineLICMPass::run(MachineFunction &Function, const TargetDescription &Target, MachineFunctionAnalysisManager &Analyses) { - if (!Function.properties().containsAll(contract().Requires)) { - return makeUnexpected( - ErrorCode::VerificationError, - Stage == MachineCodeMotionStage::SelectedSSA - ? "machine LICM requires selected SSA MachineIR" - : "post-RA machine LICM requires allocated tracked-liveness MachineIR"); - } auto Trial = cloneMachineFunction( Function, Target, MachineFunctionCloneOptions{.NewStableID = Function.stableID(), .NewName = std::nullopt}); |
