[llvm] [LLVM][IR] Add native vector support to ConstantInt & ConstantFP. (PR #74502)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 04:28:53 PST 2024


================
@@ -1384,6 +1440,16 @@ Constant *ConstantVector::getImpl(ArrayRef<Constant*> V) {
 
 Constant *ConstantVector::getSplat(ElementCount EC, Constant *V) {
   if (!EC.isScalable()) {
+    // Maintain special handling of zero.
----------------
paulwalker-arm wrote:

I'm happy to take offers but see it as temporary.

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


More information about the llvm-commits mailing list