[Mlir-commits] [clang] [flang] [llvm] [mlir] [OMPIRBuilder] Pass work loop type in ident flags (PR #189347)
Tom Eccles
llvmlistbot at llvm.org
Fri Apr 10 09:30:19 PDT 2026
Jan =?utf-8?q?André?= Reuter <j.reuter at fz-juelich.de>,
Jan =?utf-8?q?André?= Reuter <j.reuter at fz-juelich.de>,
Jan =?utf-8?q?André?= Reuter <j.reuter at fz-juelich.de>,
Jan =?utf-8?q?André?= Reuter <j.reuter at fz-juelich.de>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/189347 at github.com>
================
@@ -5498,7 +5510,8 @@ OpenMPIRBuilder::InsertPointOrErrorTy OpenMPIRBuilder::applyStaticWorkshareLoop(
Builder.CreateStore(UpperBound, PUpperBound);
Builder.CreateStore(One, PStride);
- Value *ThreadNum = getOrCreateThreadID(SrcLoc);
+ Value *ThreadNum =
+ getOrCreateThreadID(getOrCreateIdent(SrcLocStr, SrcLocStrSize));
----------------
tblah wrote:
Shouldn't this use the `Flag` from above?
https://github.com/llvm/llvm-project/pull/189347
More information about the Mlir-commits
mailing list