[PATCH] D11856: LowerBitSets: Extend pass to support functions as bitset members.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 18:30:49 PDT 2015


pcc created this revision.
pcc added a reviewer: kcc.
pcc added a subscriber: llvm-commits.

This change extends the bitset lowering pass to support bitsets that may
contain either functions or global variables. A function bitset is lowered to
a jump table that is laid out before one of the functions in the bitset.

http://reviews.llvm.org/D11856

Files:
  docs/BitSets.rst
  include/llvm/Transforms/IPO/LowerBitSets.h
  lib/Transforms/IPO/LowerBitSets.cpp
  test/Transforms/LowerBitSets/function-ext.ll
  test/Transforms/LowerBitSets/function.ll
  test/Transforms/LowerBitSets/function1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11856.31567.patch
Type: text/x-patch
Size: 22853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150808/c756d566/attachment.bin>


More information about the llvm-commits mailing list