[SystemZ] Fix build bot failures
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Sat, 7 Dec 2019 18:37:16 +0000 (19:37 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Sat, 7 Dec 2019 18:37:16 +0000 (19:37 +0100)
commita6fcdb211d259f3a18787da89d9a079a10d4f80f
tree846906e3a466bcf66497e69121140bf479d8fb7e
parent6dcb1003f2022cba36e9f5a6d39648c3a3a213a0
[SystemZ] Fix build bot failures

My patch 9db13b5a7d43096a9ab5f7cef6e1b7e2dc9c9c63 seems to have
caused some build bots to fail due to warnings that appear only
when using -Wcovered-switch-default.

This patch is an attempt to fix this by trying to avoid both the warning
"default label in switch which covers all enumeration values"
for the inner switch statements and at the same time the warning
"this statement may fall through"
for the outer switch statement in getVectorComparison
(SystemZISelLowering.cpp).
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp