[PATCH] Expose {Load,Store}Inst {get,set}Alignment to the C API.
Peter Zotov
whitequark at whitequark.org
Sun May 26 07:29:30 PDT 2013
Existing LLVM{Get,Set}Alignment functions do not work on instructions,
as they use unwrap<GlobalValue>.
There are three variants of shortening "Instruction" in the C API:
* LLVMGetInstructionCallConv
* LLVMAddInstrAttribute
* LLVMSetInstDebugLocation
This commit uses the conservative variant, "Instruction".
--
WBR, Peter Zotov.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Expose-Load-Store-Inst-get-set-Alignment-to-the-C-AP.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130526/87a17ddf/attachment.ksh>
More information about the llvm-commits
mailing list