[MLIR] Fix GCC build failure
authorRahul Joshi <jurahul@google.com>
Mon, 9 Nov 2020 19:57:52 +0000 (11:57 -0800)
committerRahul Joshi <jurahul@google.com>
Mon, 9 Nov 2020 19:57:52 +0000 (11:57 -0800)
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp

index 4ca1bd6..6cec77c 100644 (file)
@@ -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);
   }
 };