This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen,AArch64] Fix up warnings in performExtendCombine
ClosedPublic

Authored by david-arm on Jun 10 2020, 6:43 AM.

Details

Summary

Try to avoid calling getVectorNumElements() or relying upon the
TypeSize conversion to uin64_t.

Diff Detail

Event Timeline

david-arm created this revision.Jun 10 2020, 6:43 AM
kmclaughlin accepted this revision.Jun 18 2020, 2:55 AM

LGTM

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
11905–11906

nit: I think it might be worth changing the name here, as "ElementCount ElementCount" looks a bit confusing

This revision is now accepted and ready to land.Jun 18 2020, 2:55 AM
david-arm updated this revision to Diff 271669.Jun 18 2020, 5:08 AM
david-arm marked an inline comment as done.

Changed name from ElementCount -> SrcEC

This revision was automatically updated to reflect the committed changes.