aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/CodeGen/RegAllocFast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/CodeGen/RegAllocFast.cpp')
-rw-r--r--backend/lib/CodeGen/RegAllocFast.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/lib/CodeGen/RegAllocFast.cpp b/backend/lib/CodeGen/RegAllocFast.cpp
index 7fb1471..9448558 100644
--- a/backend/lib/CodeGen/RegAllocFast.cpp
+++ b/backend/lib/CodeGen/RegAllocFast.cpp
@@ -571,9 +571,6 @@ Expected<MachinePassResult> FastAllocatorPass::run(MachineFunction &Function,
MachineFunctionAnalysisManager &Analyses) {
if (Info == nullptr)
return makeUnexpected(ErrorCode::InvalidArgument, "FastAllocator 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());