[PATCH] D78812: [SVE][CodeGen] Fix legalisation for scalable types

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 10:44:43 PDT 2020


kmclaughlin marked an inline comment as done.
kmclaughlin added inline comments.


================
Comment at: llvm/lib/CodeGen/TargetLoweringBase.cpp:1429
+         !isTypeLegal(EVT::getVectorVT(Context, EltTy, EltCnt))) {
+    EltCnt.Min >>= 1;
     NumVectorRegs <<= 1;
----------------
I will create a separate patch to clean this up a bit by adding an overloaded `operator>>`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78812/new/

https://reviews.llvm.org/D78812





More information about the llvm-commits mailing list