This is an archive of the discontinued LLVM Phabricator instance.

[mlir] fix integer type mismatch in alloc conversion to LLVM
ClosedPublic

Authored by ftynse on Jun 7 2021, 9:29 AM.

Details

Summary

Some places in the alloc-like op conversion use the converted index type
whereas other places use the pointer-sized integer type, which may not be the
same. Consistently use the converted index type, similarly to other address
calculations.

Diff Detail

Event Timeline

ftynse created this revision.Jun 7 2021, 9:29 AM
ftynse requested review of this revision.Jun 7 2021, 9:29 AM
pifon2a accepted this revision.Jun 7 2021, 9:39 AM
This revision is now accepted and ready to land.Jun 7 2021, 9:39 AM