[PATCH] Add a dereferencable attribute

hfinkel at anl.gov hfinkel at anl.gov
Thu Jul 10 14:13:31 PDT 2014


Updated per Nick's comment to include an explicit size (number of bytes). I currently picked 12 bits for the size, I'm not sure if that is a good choice (I did not want to use too many bits, are there only 64 in total?).

Also, I renamed the AlignAttr class to IntAttr (along with all associated functions) because these are now just integer-carrying attributes (not specifically some kind of alignment).

http://reviews.llvm.org/D4449

Files:
  docs/LangRef.rst
  include/llvm-c/Core.h
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/IR/Argument.h
  include/llvm/IR/Attributes.h
  include/llvm/IR/CallSite.h
  include/llvm/IR/Function.h
  include/llvm/IR/Instructions.h
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLParser.h
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/AttributeImpl.h
  lib/IR/Attributes.cpp
  lib/IR/Function.cpp
  lib/IR/Value.cpp
  test/Bitcode/attributes.ll
  test/Transforms/LICM/hoist-deref-load.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4449.11292.patch
Type: text/x-patch
Size: 33127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140710/a820eaed/attachment.bin>


More information about the llvm-commits mailing list