[Mlir-commits] [mlir] fec3679 - [mlir][VectorToLLVM] Fix comment still referring to undef instead of poison (NFC) (#211196)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jul 23 19:54:34 PDT 2026


Author: Bryth
Date: 2026-07-24T02:54:30Z
New Revision: fec36790e2a09168aa85493d029d5fbfde3e11c0

URL: https://github.com/llvm/llvm-project/commit/fec36790e2a09168aa85493d029d5fbfde3e11c0
DIFF: https://github.com/llvm/llvm-project/commit/fec36790e2a09168aa85493d029d5fbfde3e11c0.diff

LOG: [mlir][VectorToLLVM] Fix comment still referring to undef instead of poison (NFC) (#211196)

When updating operators from undef (deprecated) to poison, the
associated comment wasn't updated accordingly. This PR fixes it.

Added: 
    

Modified: 
    mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp b/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
index 1720fd955a4e7..54c117bae476b 100644
--- a/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
+++ b/mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
@@ -1821,7 +1821,7 @@ struct VectorBroadcastScalarToNdLowering
       return rewriter.notifyMatchFailure(
           broadcast, "broadcast to 1-d or 0-d handled elsewhere");
 
-    // First insert it into an undef vector so we can shuffle it.
+    // First insert it into a poison vector so we can shuffle it.
     auto loc = broadcast.getLoc();
     auto vectorTypeInfo =
         LLVM::detail::extractNDVectorTypeInfo(resultType, *getTypeConverter());


        


More information about the Mlir-commits mailing list