This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fixed alighnment attribute of alloc constant folding.
ClosedPublic

Authored by imaihal on Apr 5 2021, 7:02 AM.

Details

Summary

When allocLikeOp is updated in alloc constant folding,
alighnment attribute was ignored. This patch fixes it.

Signed-off-by: Haruki Imai <imaihal@jp.ibm.com>

Diff Detail

Event Timeline

imaihal created this revision.Apr 5 2021, 7:02 AM
imaihal requested review of this revision.Apr 5 2021, 7:02 AM
mehdi_amini accepted this revision.Apr 5 2021, 10:11 AM
This revision is now accepted and ready to land.Apr 5 2021, 10:11 AM

@mehdi_amini Thanks for review. I don't have commit access. Could you commit this patch?

This revision was automatically updated to reflect the committed changes.