[PATCH] D28494: Make `@llvm.objectsize` more conservative with null pointers.
George Burgess IV via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 21 13:46:47 PST 2017
george.burgess.iv updated this revision to Diff 89269.
george.burgess.iv marked 3 inline comments as done.
george.burgess.iv removed a reviewer: tstellarAMD.
george.burgess.iv added a comment.
- Swapped to using an options struct for `getObjectSize` configuration
- Only use relaxed checks in addrspace 0
(also removed tstellarAMD as a reviewer, since their account was deactivated)
https://reviews.llvm.org/D28494
Files:
docs/LangRef.rst
include/llvm/Analysis/MemoryBuiltins.h
include/llvm/IR/Intrinsics.td
lib/Analysis/BasicAliasAnalysis.cpp
lib/Analysis/MemoryBuiltins.cpp
lib/IR/AutoUpgrade.cpp
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Assembler/auto_upgrade_intrinsics.ll
test/CodeGen/AMDGPU/promote-alloca-mem-intrinsics.ll
test/Transforms/CodeGenPrepare/basic.ll
test/Transforms/InferAddressSpaces/AMDGPU/intrinsics.ll
test/Transforms/InstCombine/memset_chk-1.ll
test/Transforms/InstCombine/objsize.ll
test/Transforms/InstCombine/stpcpy_chk-1.ll
test/Transforms/InstCombine/strcpy_chk-1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28494.89269.patch
Type: text/x-patch
Size: 35306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/5efc8c9e/attachment.bin>
More information about the llvm-commits
mailing list