[llvm] [MIPS] Fix failing to legalize load+call with vector of non-p2 intege… (PR #109625)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 00:49:55 PDT 2024


================
@@ -124,7 +124,8 @@ unsigned MipsTargetLowering::getNumRegistersForCallingConv(LLVMContext &Context,
 unsigned MipsTargetLowering::getVectorTypeBreakdownForCallingConv(
     LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
     unsigned &NumIntermediates, MVT &RegisterVT) const {
-  if (VT.isPow2VectorType()) {
+
----------------
nikic wrote:

Stray empty line.

https://github.com/llvm/llvm-project/pull/109625


More information about the llvm-commits mailing list