Page MenuHomePhabricator

[Alignment][NFC] Add DebugStr and operator*

Authored by gchatelet on Apr 6 2020, 3:19 AM.



This is a roll forward of D77394 minus AlignmentFromAssumptions (which needs to be addressed separately)
Differences from D77394:

  • DebugStr() now prints the alignment value or None and no more Align(x) or MaybeAlign(x)
    • This is to keep Warning message consistent (CodeGen/SystemZ/alloca-04.ll)
  • Removed a few unneeded headers from Alignment (since it's included everywhere it's better to keep the dependencies to a minimum)

Diff Detail

Event Timeline

gchatelet created this revision.Apr 6 2020, 3:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2020, 3:19 AM
courbet accepted this revision.Apr 6 2020, 4:12 AM
This revision is now accepted and ready to land.Apr 6 2020, 4:12 AM
This revision was automatically updated to reflect the committed changes.