This is an archive of the discontinued LLVM Phabricator instance.

[Alignment][NFC] Transition and simplify calls to DL::getABITypeAlignment
ClosedPublic

Authored by gchatelet on Jul 1 2020, 6:20 AM.

Details

Summary

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Diff Detail

Event Timeline

gchatelet created this revision.Jul 1 2020, 6:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2020, 6:20 AM
gchatelet marked an inline comment as done.Jul 1 2020, 6:29 AM
gchatelet added inline comments.
llvm/lib/Analysis/ValueTracking.cpp
1448

cast<AllocaInst>(I)->getAlign() always returns a valid alignment

courbet accepted this revision.Jul 1 2020, 6:50 AM
This revision is now accepted and ready to land.Jul 1 2020, 6:50 AM
This revision was automatically updated to reflect the committed changes.