This is an archive of the discontinued LLVM Phabricator instance.

[DataLayout] Check StackNatural and FunctionPtr alignments.
ClosedPublic

Authored by fhahn on Aug 7 2019, 4:30 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

fhahn created this revision.Aug 7 2019, 4:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 7 2019, 4:30 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
fhahn added a reviewer: jfb.Aug 7 2019, 4:32 AM
gchatelet accepted this revision.Aug 7 2019, 4:57 AM

LGTM. Thx!

This revision is now accepted and ready to land.Aug 7 2019, 4:57 AM
jfb accepted this revision.Aug 7 2019, 9:26 AM

Nice catch :)

llvm/lib/IR/DataLayout.cpp
323 ↗(On Diff #213847)

?

fhahn marked an inline comment as done.Aug 7 2019, 10:19 AM
fhahn added inline comments.
llvm/lib/IR/DataLayout.cpp
323 ↗(On Diff #213847)

Woops, looks like I forgot to strip that one. I'll remove it before committing.

This revision was automatically updated to reflect the committed changes.