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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Jul 22 01:03:20 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Bryth (Brythzz)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/211196.diff


1 Files Affected:

- (modified) mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp (+1-1) 


``````````diff
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());

``````````

</details>


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


More information about the Mlir-commits mailing list