-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Fix OpenMPDialect.cpp build error #148952
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@llvm/pr-subscribers-mlir @llvm/pr-subscribers-flang-openmp Author: Rahul Joshi (jurahul) ChangesFull diff: https://github.com/llvm/llvm-project/pull/148952.diff 1 Files Affected:
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
index 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: Rahul Joshi (jurahul) ChangesFull diff: https://github.com/llvm/llvm-project/pull/148952.diff 1 Files Affected:
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
index 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()))
|
klausler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping me if/when it survives CI on Windows.
|
@jurahul Thank you for fixing it. |
No description provided.