[LLVMdev] Switch + Addresses of functions

Михаил neonomaly.x at gmail.com
Thu Apr 19 03:01:36 PDT 2012


Is it possible to use address of function in case block of switch instruction? I understand that it should be constants only, but in llvm reference i founded that: "The addresses of global variables and functions are always implicitly valid (link-time) constants. " 

Yours sincerely,
Kadysev Mikhail

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120419/bb13c292/attachment.html>


More information about the llvm-dev mailing list