[all-commits] [llvm/llvm-project] a6fcdb: [SystemZ] Fix build bot failures

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Sat Dec 7 10:39:10 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a6fcdb211d259f3a18787da89d9a079a10d4f80f
      https://github.com/llvm/llvm-project/commit/a6fcdb211d259f3a18787da89d9a079a10d4f80f
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2019-12-07 (Sat, 07 Dec 2019)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp

  Log Message:
  -----------
  [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).




More information about the All-commits mailing list