[Polly] Avoid compiler warning. NFC.
Avoid the warning
/polly/lib/Support/RegisterPasses.cpp:833:3: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
default:
^
since all cases are now handled.
Thanks to Luke Benes for reporting.
GitOrigin-RevId: 86008477a4eb9ecac27f469539c4ac5e0fce44dc
diff --git a/lib/Support/RegisterPasses.cpp b/lib/Support/RegisterPasses.cpp
index 0c3b6fe..0661d34 100644
--- a/lib/Support/RegisterPasses.cpp
+++ b/lib/Support/RegisterPasses.cpp
@@ -830,8 +830,6 @@
case POSITION_BEFORE_VECTORIZER:
PB.registerVectorizerStartEPCallback(buildLatePollyPipeline);
break;
- default:
- llvm_unreachable("Unknown -polly-position option");
}
}
} // namespace polly