This is an archive of the discontinued LLVM Phabricator instance.

[SVE][CodeGen] Replace use of TypeSize comparison operator in CreateStackTemporary
ClosedPublic

Authored by david-arm on Sep 30 2020, 6:00 AM.

Details

Summary

We were previously relying upon the TypeSize comparison operators to
obtain the maximum size of two types, however use of such operators is
being deprecated in favour of making the caller aware that it could
be dealing with scalable vector types. I have changed the code to assert
that the two types have the same scalable property and thus we can
simply take the maximum of the known minimum sizes instead.

Diff Detail

Event Timeline

david-arm created this revision.Sep 30 2020, 6:00 AM
david-arm requested review of this revision.Sep 30 2020, 6:00 AM
This revision is now accepted and ready to land.Oct 20 2020, 3:37 AM