[PATCH] D45346: [LLVM-C] Audit Inline Assembly APIs for Consistency

Robert Widmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 18:49:02 PDT 2018


CodaFi created this revision.
CodaFi added a reviewer: whitequark.
Herald added a reviewer: deadalnix.
Herald added a subscriber: llvm-commits.

- Add a missing getter for module-level inline assembly
- Add a missing append function for module-level inline assembly
- Deprecate LLVMSetModuleInlineAsm and replace it with LLVMSetModuleInlineAsm2 which takes an explicit length parameter
- Deprecate LLVMConstInlineAsm and replace it with LLVMGetInlineAsm, a function that allows passing a dialect and is not mis-classified as a constant operation


Repository:
  rL LLVM

https://reviews.llvm.org/D45346

Files:
  include/llvm-c/Core.h
  lib/IR/Core.cpp
  test/Bindings/llvm-c/echo.ll
  tools/llvm-c-test/echo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45346.141253.patch
Type: text/x-patch
Size: 4851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/76d5cede/attachment.bin>


More information about the llvm-commits mailing list