[llvm-dev] In LLVM IR, how can I determine if a switch statement had an explicit default case?

don hinton via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 14 19:00:09 PST 2016


Since a SwitchInst always has a default case even if no default case
appeared in the code, what's the best way to determine if it's explicit or
implicit?

thanks..
don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161114/7b2965db/attachment.html>


More information about the llvm-dev mailing list