[PATCH] D83518: IR: Define byref attribute

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 10:06:12 PDT 2020


arsenm updated this revision to Diff 277082.
arsenm edited the summary of this revision.
arsenm added a comment.

Preserve the type, which does matter for some pointer arguments to get the address space. The pointee alignment is also significant, which would need to be solved to only use byref arguments


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83518/new/

https://reviews.llvm.org/D83518

Files:
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/IR/Argument.h
  llvm/include/llvm/IR/Attributes.h
  llvm/include/llvm/IR/Attributes.td
  llvm/include/llvm/IR/Function.h
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/lib/AsmParser/LLLexer.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/LLParser.h
  llvm/lib/AsmParser/LLToken.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/AttributeImpl.h
  llvm/lib/IR/Attributes.cpp
  llvm/lib/IR/Function.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Transforms/Utils/CodeExtractor.cpp
  llvm/test/Assembler/byref-parse-error-0.ll
  llvm/test/Assembler/byref-parse-error-1.ll
  llvm/test/Assembler/byref-parse-error-10.ll
  llvm/test/Assembler/byref-parse-error-2.ll
  llvm/test/Assembler/byref-parse-error-3.ll
  llvm/test/Assembler/byref-parse-error-4.ll
  llvm/test/Assembler/byref-parse-error-5.ll
  llvm/test/Assembler/byref-parse-error-6.ll
  llvm/test/Assembler/byref-parse-error-7.ll
  llvm/test/Assembler/byref-parse-error-8.ll
  llvm/test/Assembler/byref-parse-error-9.ll
  llvm/test/Bitcode/attributes.ll
  llvm/test/CodeGen/X86/byref.ll
  llvm/test/Instrumentation/AddressSanitizer/byref-args.ll
  llvm/test/Transforms/DeadArgElim/byref.ll
  llvm/test/Transforms/Inline/byref-align.ll
  llvm/test/Transforms/LowerConstantIntrinsics/objectsize_basic.ll
  llvm/test/Verifier/byref.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83518.277082.patch
Type: text/x-patch
Size: 38384 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200710/31ec2a0a/attachment.bin>


More information about the llvm-commits mailing list