[PATCH] D158352: WIP: [llvm][MemoryBuiltins] Add initialization category to getInitialValueOfAllocation

John McIver via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 10:06:23 PDT 2023


jmciver created this revision.
Herald added subscribers: hoy, kmitropoulou, ormris, foad, okura, jdoerfert, kuter, kerbowa, hiraditya, jvesely, arsenm.
Herald added a project: All.
jmciver retitled this revision from "[llvm][MemoryBuiltins] Add initialization category to getInitialValueOfAllocation" to "WIP: [llvm][MemoryBuiltins] Add initialization category to getInitialValueOfAllocation".
jmciver added a subscriber: nlopes.
jmciver edited the summary of this revision.
jmciver added reviewers: nikic, efriedma, fhahn.
Herald added a subscriber: StephenFan.
jmciver published this revision for review.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Part of a sequence of exploratory patches using poison semantics for
uninitialized memory.

The enumeration InitializationCategory will be used to provide backwards
compatibility to existing optimizations where further information is required to
handle poison and freeze poison semantics.

Callers are refactored at this time to only use the returned constant. Future
commits will enable the use of the InitializationCategory.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158352

Files:
  llvm/include/llvm/Analysis/MemoryBuiltins.h
  llvm/lib/Analysis/MemoryBuiltins.cpp
  llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/lib/Transforms/Scalar/GVN.cpp
  llvm/lib/Transforms/Scalar/NewGVN.cpp
  llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158352.551793.patch
Type: text/x-patch
Size: 10447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/cdd3d869/attachment.bin>


More information about the llvm-commits mailing list