This is an archive of the discontinued LLVM Phabricator instance.

WIP: [llvm][MemoryBuiltins] Add initialization category to getInitialValueOfAllocation
Needs ReviewPublic

Authored by jmciver on Aug 19 2023, 3:32 PM.

Details

Summary

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.

Diff Detail

Event Timeline

jmciver created this revision.Aug 19 2023, 3:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 19 2023, 3:32 PM
jmciver retitled this revision from [llvm][MemoryBuiltins] Add initialization category to getInitialValueOfAllocation to WIP: [llvm][MemoryBuiltins] Add initialization category to getInitialValueOfAllocation.Aug 19 2023, 3:33 PM
jmciver added a subscriber: nlopes.Aug 19 2023, 8:10 PM
jmciver edited the summary of this revision. (Show Details)Aug 19 2023, 8:17 PM
jmciver published this revision for review.Aug 21 2023, 10:06 AM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript