- Notifications
You must be signed in to change notification settings - Fork14.5k
[mlir] Fix u_int64_t in OpenMPDialect.cpp#148963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
llvmbot commentedJul 15, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@llvm/pr-subscribers-mlir @llvm/pr-subscribers-flang-openmp Author: Maksim Levental (makslevental) ChangesFull diff:https://github.com/llvm/llvm-project/pull/148963.diff 1 Files Affected:
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cppindex 486935fe7341c..769aee64e1695 100644--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp@@ -3867,7 +3867,7 @@ LogicalResult ScanOp::verify() { /// Verifies align clause in allocate directive LogicalResult AllocateDirOp::verify() {- std::optional<u_int64_t> align = this->getAlign();+ std::optional<uint64_t> align = this->getAlign(); if (align.has_value()) { if ((align.value() > 0) && !llvm::has_single_bit(align.value())) |
@llvm/pr-subscribers-mlir-openmp Author: Maksim Levental (makslevental) ChangesFull diff:https://github.com/llvm/llvm-project/pull/148963.diff 1 Files Affected:
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cppindex 486935fe7341c..769aee64e1695 100644--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp@@ -3867,7 +3867,7 @@ LogicalResult ScanOp::verify() { /// Verifies align clause in allocate directive LogicalResult AllocateDirOp::verify() {- std::optional<u_int64_t> align = this->getAlign();+ std::optional<uint64_t> align = this->getAlign(); if (align.has_value()) { if ((align.value() > 0) && !llvm::has_single_bit(align.value())) |
91d82bf
intomainUh oh!
There was an error while loading.Please reload this page.
#148952 I just noticed there is an existing PR with the same fix. Thank you |
Lol how did both of these land... oh well 🤷 |
No description provided.