From a59008a3a5b0aa75fc78eb708dbc788600e79c65 Mon Sep 17 00:00:00 2001 From: Uday Bondhugula Date: Wed, 8 Apr 2020 17:25:16 +0530 Subject: [PATCH] [MLIR] Fix gcc-5 build failure cause by D77528 Fix gcc-5 build failure cause by D77528 Differential Revision: https://reviews.llvm.org/D77719 --- mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp index 93847d0..8225627 100644 --- a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp +++ b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp @@ -1602,9 +1602,7 @@ struct AllocOpLowering : public AllocLikeOpLowering { : AllocLikeOpLowering(converter, useAlignedAlloc) {} }; -struct AllocaOpLowering : public AllocLikeOpLowering { - using Base::Base; -}; +using AllocaOpLowering = AllocLikeOpLowering; // A CallOp automatically promotes MemRefType to a sequence of alloca/store and // passes the pointer to the MemRef across function boundaries. -- 2.7.4