This is an archive of the discontinued LLVM Phabricator instance.

InstCombine: Fix losing load properties in copy-constant-to-alloca
ClosedPublic

Authored by arsenm on Oct 5 2020, 3:49 PM.

Details

Summary

Preserve the alignment and metadata. Atomic loads are skipped for
this, but pass along the properties for consistency.

Diff Detail

Event Timeline

arsenm created this revision.Oct 5 2020, 3:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2020, 3:49 PM
arsenm requested review of this revision.Oct 5 2020, 3:49 PM
This revision is now accepted and ready to land.Oct 5 2020, 3:52 PM