From e29cb0908bbc7b5f5e2dcb1985583fccf1156443 Mon Sep 17 00:00:00 2001 From: Rahul Joshi Date: Mon, 9 Nov 2020 11:57:52 -0800 Subject: [PATCH] [MLIR] Fix GCC build failure --- mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp index 4ca1bd6..6cec77c 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); } }; -- 2.7.4