[midend-mem2reg]mem2reg遍基本写完,编译不报错,待reg2mem写完统一测试
This commit is contained in:
@@ -1112,7 +1112,10 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
//! 获取分配的类型
|
||||
Type* getAllocatedType() const {
|
||||
return getType()->as<PointerType>()->getBaseType();
|
||||
} ///< 获取分配的类型
|
||||
int getNumDims() const { return getNumOperands(); }
|
||||
auto getDims() const { return getOperands(); }
|
||||
Value* getDim(int index) { return getOperand(index); }
|
||||
|
||||
Reference in New Issue
Block a user