https://github.com/banach-space created 
https://github.com/llvm/llvm-project/pull/174334

None

From bad8146f942d72d796cc177f69dbda42dff2edc0 Mon Sep 17 00:00:00 2001
From: Andrzej Warzynski <[email protected]>
Date: Sun, 4 Jan 2026 14:50:43 +0000
Subject: [PATCH] [CIR][NFC] Fix incorrect function names in assert messages

---
 clang/lib/CIR/CodeGen/CIRGenFunction.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clang/lib/CIR/CodeGen/CIRGenFunction.h 
b/clang/lib/CIR/CodeGen/CIRGenFunction.h
index c46cd86e66dc0..25d95e3005849 100644
--- a/clang/lib/CIR/CodeGen/CIRGenFunction.h
+++ b/clang/lib/CIR/CodeGen/CIRGenFunction.h
@@ -210,7 +210,7 @@ class CIRGenFunction : public CIRGenTypeCache {
   /// Get integer from a mlir::Value that is an int constant or a constant op.
   static int64_t getSExtIntValueFromConstOp(mlir::Value val) {
     auto constOp = val.getDefiningOp<cir::ConstantOp>();
-    assert(constOp && "getIntValueFromConstOp call with non ConstantOp");
+    assert(constOp && "getSExtIntValueFromConstOp call with non ConstantOp");
     return constOp.getIntValue().getSExtValue();
   }
 
@@ -219,7 +219,7 @@ class CIRGenFunction : public CIRGenTypeCache {
   static int64_t getZExtIntValueFromConstOp(mlir::Value val) {
     auto constOp = val.getDefiningOp<cir::ConstantOp>();
     assert(constOp &&
-           "getZeroExtendedIntValueFromConstOp call with non ConstantOp");
+           "getZExtIntValueFromConstOp call with non ConstantOp");
     return constOp.getIntValue().getZExtValue();
   }
 

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to