[PATCH] [opaque pointer type] Bitcode support for explicit type parameter on GEP.
David Blaikie
dblaikie at gmail.com
Wed Feb 18 13:48:55 PST 2015
Hi chandlerc, dexonsmith, grosbach, resistor,
Like http://reviews.llvm.org/D7655, add bitcode support including backwards
compatibility, for an explicit type parameter to GEP.
At the suggestion of Duncan I tried coalescing the two older bitcodes into a
single new bitcode, though I did hit a wrinkle: I couldn't figure out how to
create an explicit abbreviation for a record with a variable number of
arguments (the indicies to the gep). This means the discriminator between
inbounds and non-inbounds gep is a full variable-length field I believe? Is my
understanding correct? Is there a way to create such an abbreviation? Should I
just use two bitcodes as before?
http://reviews.llvm.org/D7736
Files:
include/llvm/Bitcode/LLVMBitCodes.h
include/llvm/IR/Instructions.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
test/Bitcode/function-encoding-rel-operands.ll
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7736.20218.patch
Type: text/x-patch
Size: 6617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150218/2587f00c/attachment.bin>
More information about the llvm-commits
mailing list