[llvm-dev] Can a Constant have more than one use?

Siddharth Bhat via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 9 11:23:34 PDT 2017


As the question asks. IIRC, I have only seen constants use to:

1. setup globals
2. as "constant parameters" to instructions.

In both these cases, from what I understand, they will have a single use.
Is it possible to create a Constant with multiple use(r)s?

Thanks,
Siddharth
-- 
Sending this from my phone, please excuse any typos!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170809/c19fcc96/attachment.html>


More information about the llvm-dev mailing list