[Mlir-commits] [mlir] a59008a - [MLIR] Fix gcc-5 build failure cause by D77528

Uday Bondhugula llvmlistbot at llvm.org
Wed Apr 8 04:58:44 PDT 2020


Author: Uday Bondhugula
Date: 2020-04-08T17:27:12+05:30
New Revision: a59008a3a5b0aa75fc78eb708dbc788600e79c65

URL: https://github.com/llvm/llvm-project/commit/a59008a3a5b0aa75fc78eb708dbc788600e79c65
DIFF: https://github.com/llvm/llvm-project/commit/a59008a3a5b0aa75fc78eb708dbc788600e79c65.diff

LOG: [MLIR] Fix gcc-5 build failure cause by D77528

 Fix gcc-5 build failure cause by D77528

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

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 93847d0eb644..822562745abd 100644
--- a/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
+++ b/mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
@@ -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.


        


More information about the Mlir-commits mailing list