diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2021-05-21 17:38:25 -0500 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2021-05-22 00:21:20 -0500 |
commit | 86008477a4eb9ecac27f469539c4ac5e0fce44dc (patch) | |
tree | f326992340ac0dc1d3604d87f32dc0ee23d8d9e2 /polly | |
parent | 4272fca2db9c27ab836082f796d281e5e68b0638 (diff) | |
download | llvm-86008477a4eb9ecac27f469539c4ac5e0fce44dc.zip llvm-86008477a4eb9ecac27f469539c4ac5e0fce44dc.tar.gz llvm-86008477a4eb9ecac27f469539c4ac5e0fce44dc.tar.bz2 |
[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.
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Support/RegisterPasses.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp index 0c3b6fe..0661d34 100644 --- a/polly/lib/Support/RegisterPasses.cpp +++ b/polly/lib/Support/RegisterPasses.cpp @@ -830,8 +830,6 @@ void registerPollyPasses(PassBuilder &PB) { case POSITION_BEFORE_VECTORIZER: PB.registerVectorizerStartEPCallback(buildLatePollyPipeline); break; - default: - llvm_unreachable("Unknown -polly-position option"); } } } // namespace polly |