[all-commits] [llvm/llvm-project] e764ec: [mlir] Fix warnings

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Sep 20 14:07:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e764ec62913d784521e8a409c47a83a650fc9096
      https://github.com/llvm/llvm-project/commit/e764ec62913d784521e8a409c47a83a650fc9096
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [mlir] Fix warnings

This patch fixes:

  mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1525:3:
  error: default label in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]

  mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1541:3:
  error: default label in switch which covers all enumeration values
  [-Werror,-Wcovered-switch-default]




More information about the All-commits mailing list