[llvm] [TableGen] Use guarded assert in constexpr functions (PR #194728)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 01:46:12 PDT 2026


s-barannikov wrote:

I mean the fix could be as simple as:
```C++
  switch (...) {
  }
#ifdef _MSC_VER
  llvm_unreachable("happify MSVC");
#endif
```
and remove the `default` label.


https://github.com/llvm/llvm-project/pull/194728


More information about the llvm-commits mailing list