[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:02:22 PDT 2026
https://github.com/Brythzz created https://github.com/llvm/llvm-project/pull/211196
When updating operators from undef (deprecated) to poison, the associated comment wasn't updated accordingly. This PR fixes it.
>From c61349bfc954d5d47c67790c2a1e8fcbf53e0079 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matt=C3=A9o=20Rizza=20Murgier?=
<matteo.rizza-murgier at sipearl.com>
Date: Mon, 20 Jul 2026 11:31:01 +0200
Subject: [PATCH] [mlir][VectorToLLVM] Fix comment still referring to undef
instead of poison (NFC)
---
mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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