[PATCH] D106056: [CVP] processSwitch: Remove default case when switch cover all possible values.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 23 15:04:43 PDT 2021


efriedma added a comment.

The backend can, in general, create basic blocks that don't contain any instructions, and don't fall through to another block.  A jump table entry can refer to such a block.  I guess certain tools could be confused by this.

If that's the issue, it should be possible to work around it using "-mllvm -trap-unreachable".


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106056/new/

https://reviews.llvm.org/D106056



More information about the llvm-commits mailing list