aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r--backend/lib/CodeGen/RegAllocGreedy.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/lib/CodeGen/RegAllocGreedy.cpp b/backend/lib/CodeGen/RegAllocGreedy.cpp
index c00e753..317c297 100644
--- a/backend/lib/CodeGen/RegAllocGreedy.cpp
+++ b/backend/lib/CodeGen/RegAllocGreedy.cpp
@@ -215,10 +215,6 @@ Expected<MachinePassResult> GreedyAllocatorPass::run(MachineFunction &Function,
MachineFunctionAnalysisManager &Analyses) {
if (Info == nullptr)
return makeUnexpected(ErrorCode::InvalidArgument, "greedy allocator requires target behavior");
- auto Required = regalloc_detail::requireAllocationProperties(Function, contract());
- if (!Required)
- return std::unexpected(Required.error());
-
auto Trial = regalloc_detail::cloneForAllocation(Function, Target);
if (!Trial)
return std::unexpected(Trial.error());