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