Arnaud Allard de Grandmaison
2010-Dec-03 15:14 UTC
[LLVMdev] Target instrinsics & metadata
Hi All, Unless I missed something, it seems to me that metadata can not be carried by target specific intrinsics when moving in and out of selectionDAG. The attached patch add support for this. The only point worth noticing is about the selectionDAGBuilder part : the regular getValue() path is not used, as its intended --- and enforced --- usage is for 'real' values, with a register associated to them. This patch applies fine, breaks no regresion tests on top of tree and we are using it here with our own backends. Best regards, -- Arnaud de Grandmaison -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101203/b1d97bbf/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: metadata-target-instrinsics.patch Type: application/octet-stream Size: 1633 bytes Desc: metadata-target-instrinsics.patch URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101203/b1d97bbf/attachment.obj>