[MLIR] Fix gcc-5 build failure cause by D77528
authorUday Bondhugula <uday@polymagelabs.com>
Wed, 8 Apr 2020 11:55:16 +0000 (17:25 +0530)
committerUday Bondhugula <uday@polymagelabs.com>
Wed, 8 Apr 2020 11:57:12 +0000 (17:27 +0530)
 Fix gcc-5 build failure cause by D77528

Differential Revision: https://reviews.llvm.org/D77719

mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp

index 93847d0..8225627 100644 (file)
@@ -1602,9 +1602,7 @@ struct AllocOpLowering : public AllocLikeOpLowering<AllocOp> {
       : AllocLikeOpLowering<AllocOp>(converter, useAlignedAlloc) {}
 };
 
-struct AllocaOpLowering : public AllocLikeOpLowering<AllocaOp> {
-  using Base::Base;
-};
+using AllocaOpLowering = AllocLikeOpLowering<AllocaOp>;
 
 // A CallOp automatically promotes MemRefType to a sequence of alloca/store and
 // passes the pointer to the MemRef across function boundaries.