[LLVMdev] Target Constants
gohman at apple.com
Thu Apr 29 10:01:19 PDT 2010
I added some comments here:
To put a constant in memory, you should use a constant pool entry, and the
constant pool infrastructure.
On Apr 29, 2010, at 8:23 AM, David Greene wrote:
> In SelectionDAG, what's the difference between getConstant and
> getTargetConstant? One creates a node with opcode Constant and the
> other with TargetConstant. What's the semantic difference?
> In X86ISelLowering I need to create a constant vector and put
> it in memory so I can reference it as an operand. I don't see
> any examples of doing this. Is it possible? If so, what's the
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev