[clang] [llvm] [mlir] Enforce single-operand form for llvm.loop.vectorize.predicate metadata (PR #213902)

Madhur Amilkanthwar via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 7 01:54:27 PDT 2026


================
@@ -83,6 +85,17 @@ void LoopAnnotationConversion::convertBoolNode(StringRef name, BoolAttr attr,
                               llvm::ConstantAsMetadata::get(cstValue)}));
 }
 
+/// Emits the single-operand node of an enable/disable pair. As in
+/// convertBoolNode, \p negated ^ the attribute value is the enable bit.
----------------
madhur13490 wrote:

Done

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


More information about the cfe-commits mailing list