[clang] 775a69b - [OpenMP] Fix comma -> semicolon (#145900)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 26 08:27:25 PDT 2025
Author: Robert Imschweiler
Date: 2025-06-26T17:27:20+02:00
New Revision: 775a69b237d090923f79496fef437eb13d754a62
URL: https://github.com/llvm/llvm-project/commit/775a69b237d090923f79496fef437eb13d754a62
DIFF: https://github.com/llvm/llvm-project/commit/775a69b237d090923f79496fef437eb13d754a62.diff
LOG: [OpenMP] Fix comma -> semicolon (#145900)
Fix small typo.
Added:
Modified:
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp b/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
index 2bc9cd549f01f..e25b6948d30f8 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
@@ -1257,9 +1257,9 @@ void CGOpenMPRuntimeGPU::emitParallelCall(CodeGenFunction &CGF,
if (!NumThreadsVal)
NumThreadsVal = llvm::ConstantInt::get(CGF.Int32Ty, -1);
else
- NumThreadsVal = Bld.CreateZExtOrTrunc(NumThreadsVal, CGF.Int32Ty),
+ NumThreadsVal = Bld.CreateZExtOrTrunc(NumThreadsVal, CGF.Int32Ty);
- assert(IfCondVal && "Expected a value");
+ assert(IfCondVal && "Expected a value");
llvm::Value *RTLoc = emitUpdateLocation(CGF, Loc);
llvm::Value *Args[] = {
RTLoc,
More information about the cfe-commits
mailing list