[all-commits] [llvm/llvm-project] ca1a8b: [Transforms] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Nov 5 19:30:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca1a8be06b230192ff37109be51c0a1daaff3e56
      https://github.com/llvm/llvm-project/commit/ca1a8be06b230192ff37109be51c0a1daaff3e56
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-11-05 (Fri, 05 Nov 2021)

  Changed paths:
    M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp

  Log Message:
  -----------
  [Transforms] Fix a warning

This patch fixes:

  mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp:124:3:
  error: default label in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]

by removing the default case.




More information about the All-commits mailing list