[PATCH] D12457: [Bitcode][Asm] Teach LLVM to read and write operand bundles.

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 16:25:10 PDT 2015


sanjoy created this revision.
sanjoy added reviewers: reames, chandlerc, majnemer, dexonsmith, JosephTremoulet, kmod.
sanjoy added a subscriber: llvm-commits.
sanjoy added a dependency: D12456: [IR] Add operand bundles to CallInst and InvokeInst..

This also adds the first set of tests for operand bundles.

The optimizer has not been audited to ensure that it does the right
thing with operand bundles.

Note:
This change adds a stub to `LangRef`, but documentation is still a TODO.
Given that this is a large change set, I figured it would be wise to get
this out for review and get some feedback earlier rather than later.
I'll update this patch with more comprehensive documentation soon.

Depends on D12456.

http://reviews.llvm.org/D12457

Files:
  docs/LangRef.rst
  include/llvm/Bitcode/LLVMBitCodes.h
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLParser.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/AsmWriter.cpp
  test/Bitcode/operand-bundles.ll
  test/Verifier/operand-bundles.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12457.33489.patch
Type: text/x-patch
Size: 24533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150828/042531fd/attachment.bin>


More information about the llvm-commits mailing list