This is an archive of the discontinued LLVM Phabricator instance.

Fix broken invariant
ClosedPublic

Authored by gchatelet on Jan 31 2020, 9:33 AM.

Details

Summary

A Copy with a source that is zeros is the same as a Set of zeros.
This fixes the invariant that SrcAlign should always be non-null.

Event Timeline

gchatelet created this revision.Jan 31 2020, 9:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 31 2020, 9:33 AM
gchatelet updated this revision to Diff 241756.Jan 31 2020, 9:37 AM
  • Added asserts
Harbormaster completed remote builds in B45467: Diff 241756.
courbet accepted this revision.Feb 2 2020, 11:45 PM
courbet added inline comments.
llvm/include/llvm/CodeGen/TargetLowering.h
128 ↗(On Diff #241756)

destination alignment

129 ↗(On Diff #241756)

source alignment

This revision is now accepted and ready to land.Feb 2 2020, 11:45 PM
gchatelet updated this revision to Diff 241992.Feb 3 2020, 1:42 AM
gchatelet marked 2 inline comments as done.

Fixed assert messages

This revision was automatically updated to reflect the committed changes.