This is an archive of the discontinued LLVM Phabricator instance.

[llvm][CodeGen] Avoid implicit cast of TypeSize to integer in `initActions`.
ClosedPublic

Authored by fpetrogalli on Apr 2 2020, 9:17 AM.

Diff Detail

Event Timeline

fpetrogalli created this revision.Apr 2 2020, 9:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 2 2020, 9:17 AM

The extra assertion doesn't seem helpful; the one in getFixedSize() should be enough.

Thank you @efriedma for the review!

efriedma accepted this revision.Apr 3 2020, 1:06 PM

LGTM

This revision is now accepted and ready to land.Apr 3 2020, 1:06 PM
This revision was automatically updated to reflect the committed changes.