[llvm] [PowerPC] extend smaller splats into bigger splats (with fix) (PR #142194)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 07:31:17 PDT 2025


================
@@ -9664,7 +9664,24 @@ SDValue PPCTargetLowering::LowerBUILD_VECTOR(SDValue Op,
     }
   }
 
-  if (!BVNIsConstantSplat || SplatBitSize > 32) {
+  bool IsSplat64 = false;
+  uint64_t SplatBits = 0;
----------------
RolandF77 wrote:

SplatBits is used in existing code, much lower down, and that would hide the declaration in a lower scope.

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


More information about the llvm-commits mailing list