[PATCH] D65664: [BPF] annotate DIType metadata for builtin preseve_array_access_index()

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 2 14:14:24 PDT 2019


yonghong-song updated this revision to Diff 213122.
yonghong-song added a comment.

set metadata unless metadata is non-NULL. I have not found a case where metadata is NULL. But nevertheless, let us do this to avoid set a potential NULL metadata.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65664

Files:
  clang/lib/CodeGen/CGExpr.cpp
  clang/test/CodeGen/builtin-preserve-access-index-array.c
  clang/test/CodeGen/builtin-preserve-access-index.c
  llvm/docs/LangRef.rst
  llvm/include/llvm/IR/IRBuilder.h
  llvm/test/CodeGen/BPF/CORE/intrinsic-array.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65664.213122.patch
Type: text/x-patch
Size: 12196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190802/071a21d5/attachment.bin>


More information about the cfe-commits mailing list