aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/lib/CodeGen/MachineSink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/lib/CodeGen/MachineSink.cpp b/backend/lib/CodeGen/MachineSink.cpp
index 95f902d..bfe7cc9 100644
--- a/backend/lib/CodeGen/MachineSink.cpp
+++ b/backend/lib/CodeGen/MachineSink.cpp
@@ -31,7 +31,7 @@ namespace {
static const MachinePassContract Selected = [] {
MachinePassContract Value{
.Name = "machine-sink",
- .Requires = {MachineFunctionProperty::IsSSA, MachineFunctionProperty::Selected},
+ .Requires = {MachineFunctionProperty::IsSSA},
.Sets = {},
.Clears = {},
.RequiredAnalyses = {MachineFunctionAnalysisManager::id<MachineDominatorTreeAnalysis>(),
@@ -349,7 +349,7 @@ Expected<MachinePassResult> MachineSinkPass::run(MachineFunction &Function,
return makeUnexpected(
ErrorCode::VerificationError,
Stage == MachineCodeMotionStage::SelectedSSA
- ? "machine sink requires selected SSA MachineIR"
+ ? "machine sink requires SSA MachineIR"
: "post-RA machine sink requires allocated tracked-liveness MachineIR");
}
auto Trial = cloneMachineFunction(