This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Fix warnings in LowerToPredicatedOp
ClosedPublic

Authored by david-arm on May 27 2020, 3:50 AM.

Details

Summary

When creating a new vector type based on another vector type we
should pass in the element count instead of the number of elements
and scalable flag separately.

I encountered this warning whilst compiling this test:

CodeGen/AArch64/sve-intrinsics-int-compares.ll

Diff Detail

Event Timeline

david-arm created this revision.May 27 2020, 3:50 AM
This revision is now accepted and ready to land.May 29 2020, 4:51 AM
This revision was automatically updated to reflect the committed changes.