[all-commits] [llvm/llvm-project] 96de84: [mlir][NVVM] Fix default label unreachable warning...

Jorn Tuyls via All-commits all-commits at lists.llvm.org
Mon Apr 7 04:13:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96de8435b90e5164da2d38ee34594e86069360e7
      https://github.com/llvm/llvm-project/commit/96de8435b90e5164da2d38ee34594e86069360e7
  Author: Jorn Tuyls <jtuyls at users.noreply.github.com>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [mlir][NVVM] Fix default label unreachable warning in `getVoteSyncIntrinsicId` (#134600)

Fixes the following warning after the changes in
https://github.com/llvm/llvm-project/pull/134309:

```
llvm-project/mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp:134:3: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
  default:
  ^
1 warning generated.
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list