[Mlir-commits] [mlir] e29cb09 - [MLIR] Fix GCC build failure
Rahul Joshi
llvmlistbot at llvm.org
Mon Nov 9 11:58:15 PST 2020
Author: Rahul Joshi
Date: 2020-11-09T11:57:52-08:00
New Revision: e29cb0908bbc7b5f5e2dcb1985583fccf1156443
URL: https://github.com/llvm/llvm-project/commit/e29cb0908bbc7b5f5e2dcb1985583fccf1156443
DIFF: https://github.com/llvm/llvm-project/commit/e29cb0908bbc7b5f5e2dcb1985583fccf1156443.diff
LOG: [MLIR] Fix GCC build failure
Added:
Modified:
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
index 4ca1bd62afc4..6cec77c6f8b9 100644
--- a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
+++ b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
@@ -2523,7 +2523,7 @@ struct GetGlobalMemrefOpLowering : public AllocLikeOpLowering {
// Both allocated and aligned pointers are same. We could potentially stash
// a nullptr for the allocated pointer since we do not expect any dealloc.
- return {deadBeefPtr, gep};
+ return std::make_tuple(deadBeefPtr, gep);
}
};
More information about the Mlir-commits
mailing list